Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-04 10:14:24 +0200
committerErich Eckner <git@eckner.net>2018-06-04 10:14:24 +0200
commitcbf8fe7d900b3e33f26d1d73e0a0061a0115455a (patch)
tree6865d9341b57dc63693f0bc93d0f3c836d2db0c3
parent6c8b62f5eea8c3abcde972e09927da0c94580612 (diff)
lib/common-functions: bugfix
-rwxr-xr-xlib/common-functions2
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"