mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 12:29:27 +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)) {
|
if ($self->{pbot}->{banlist}->{banlist}->exists($channel)) {
|
||||||
$immediately = 0;
|
$immediately = 0;
|
||||||
foreach my $banmask ($self->{pbot}->{banlist}->{banlist}->get_keys($channel)) {
|
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;
|
last;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user