Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index be35144..8886af5 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -718,7 +718,8 @@ irc_say() {
[ "$(date '+%s')" -gt "$(cat "${work_dir}/irc-shut-up")" ]; then
rm "${work_dir}/irc-shut-up"
fi
- if [ -s "${work_dir}/irc-shut-up" ]; then
+ if [ -s "${work_dir}/irc-shut-up" ] && \
+ [ -z "$1" ]; then
channel_in_pipe='/dev/null'
else
channel_in_pipe="${irc_dir}/${channel}/in"