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; }