From 559b058dd196ebca4f3d6b8d855c305f29c98e3b Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 14 May 2020 16:53:10 -0700 Subject: [PATCH] ChanOpCommands: fix `unban *` --- PBot/ChanOpCommands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/ChanOpCommands.pm b/PBot/ChanOpCommands.pm index d61005fb..d99a6d76 100644 --- a/PBot/ChanOpCommands.pm +++ b/PBot/ChanOpCommands.pm @@ -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; }