antifuck.pl: split channels for /join
This commit is contained in:
parent
a3ec377213
commit
30b0cd7606
@ -134,7 +134,7 @@ sub client_join {
|
|||||||
shift =~ /^join :?([^ ]*)/i);
|
shift =~ /^join :?([^ ]*)/i);
|
||||||
($server, $channel) = (lc $server, lc $channel);
|
($server, $channel) = (lc $server, lc $channel);
|
||||||
|
|
||||||
$channels{$server}{$channel} = 1;
|
$channels{$server}{$_} = 1 for (split ',', $channel);
|
||||||
return weechat::WEECHAT_RC_OK;
|
return weechat::WEECHAT_RC_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user