From 382d15b9752459030fabee0be732ef4e30558f2a Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 11 Feb 2020 21:19:31 -0800 Subject: [PATCH] PBot: `reload`: replace whitelist with ban-exemptions --- PBot/PBot.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PBot/PBot.pm b/PBot/PBot.pm index a1472207..f01baf82 100644 --- a/PBot/PBot.pm +++ b/PBot/PBot.pm @@ -431,10 +431,10 @@ sub reload { return "Blacklist reloaded."; }, - 'whitelist' => sub { - $self->{antiflood}->{whitelist}->clear; - $self->{antiflood}->{whitelist}->load; - return "Whitelist reloaded."; + 'ban-exemptions' => sub { + $self->{antiflood}->{'ban-exemptions'}->clear; + $self->{antiflood}->{'ban-exemptions'}->load; + return "Ban exemptions reloaded."; }, 'ignores' => sub {