3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 11:42:35 +01:00

ChanOpCommands: fix unban *

This commit is contained in:
Pragmatic Software 2020-05-14 16:53:10 -07:00
parent 5633bf8798
commit 559b058dd1

View File

@ -460,7 +460,7 @@ sub cmd_unban {
if ($self->{pbot}->{banlist}->{banlist}->exists($channel)) {
$immediately = 0;
foreach my $banmask ($self->{pbot}->{banlist}->{banlist}->get_keys($channel)) {
$self->{pbot}->{banlist}->unban_user($banmask, 'b', $channel, $immediately);
$self->{pbot}->{banlist}->unban_user($channel, 'b', $banmask, $immediately);
}
last;
}