From 6c8b62f5eea8c3abcde972e09927da0c94580612 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 4 Jun 2018 10:11:24 +0200 Subject: lib/common-functions: do not "shut up" in ims --- lib/common-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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" -- cgit v1.2.3