From 30b0cd7606bcffa13adc83c5fba2fdd60d2f3ac4 Mon Sep 17 00:00:00 2001 From: wowaname Date: Fri, 30 Sep 2016 22:41:09 +0000 Subject: [PATCH] antifuck.pl: split channels for /join --- scripts/antifuck.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/antifuck.pl b/scripts/antifuck.pl index 2953abd..9a6deee 100644 --- a/scripts/antifuck.pl +++ b/scripts/antifuck.pl @@ -134,7 +134,7 @@ sub client_join { shift =~ /^join :?([^ ]*)/i); ($server, $channel) = (lc $server, lc $channel); - $channels{$server}{$channel} = 1; + $channels{$server}{$_} = 1 for (split ',', $channel); return weechat::WEECHAT_RC_OK; }