index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/common-functions | 3 |
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" |