From cbf8fe7d900b3e33f26d1d73e0a0061a0115455a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 10:14:24 +0200 Subject: lib/common-functions: bugfix --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2