From 68537b7e9663c45f106b45d368dc0911a1dd87f3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 12 Oct 2012 19:13:34 +0200 Subject: [PATCH] ircrc: fix spurious autojoin --- rc/bin/ircrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/bin/ircrc b/rc/bin/ircrc index e54d2a000..9be2bc4e7 100755 --- a/rc/bin/ircrc +++ b/rc/bin/ircrc @@ -34,7 +34,7 @@ fn work { echo NICK $nick > $netdir/data if (~ $#pass 1) echo PRIVMSG 'nickserv :'identify $"pass > $netdir/data - if(~ $#target 1){ + if(! ~ $target ''){ title echo JOIN $target > $netdir/data }