antifuck.pl: split channels for /join

This commit is contained in:
wowaname 2016-09-30 22:41:09 +00:00
parent a3ec377213
commit 30b0cd7606

View File

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