mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
ChanOpCommands: fix unban *
This commit is contained in:
parent
5633bf8798
commit
559b058dd1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user