diff options
author | Erich Eckner <git@eckner.net> | 2018-06-04 10:14:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-04 10:14:24 +0200 |
commit | cbf8fe7d900b3e33f26d1d73e0a0061a0115455a (patch) | |
tree | 6865d9341b57dc63693f0bc93d0f3c836d2db0c3 /lib | |
parent | 6c8b62f5eea8c3abcde972e09927da0c94580612 (diff) | |
download | builder-cbf8fe7d900b3e33f26d1d73e0a0061a0115455a.tar.xz |
lib/common-functions: bugfix
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/common-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions index 8886af5..cb39509 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -719,7 +719,7 @@ irc_say() { rm "${work_dir}/irc-shut-up" fi if [ -s "${work_dir}/irc-shut-up" ] && \ - [ -z "$1" ]; then + [ -z "${channel%%#*}" ]; then channel_in_pipe='/dev/null' else channel_in_pipe="${irc_dir}/${channel}/in" |