diff options
author | Erich Eckner <git@eckner.net> | 2018-06-04 10:11:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-04 10:11:24 +0200 |
commit | 6c8b62f5eea8c3abcde972e09927da0c94580612 (patch) | |
tree | 5804036b0f82094d67d54a18c77d458304e16a54 /lib/common-functions | |
parent | 9cc3e650e64bba50868b7ae53623c463998150c7 (diff) | |
download | builder-6c8b62f5eea8c3abcde972e09927da0c94580612.tar.xz |
lib/common-functions: do not "shut up" in ims
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 3 |
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" |