PBot: `reload`: replace whitelist with ban-exemptions

This commit is contained in:
Pragmatic Software 2020-02-11 21:19:31 -08:00
parent bee6e18b8e
commit 382d15b975
1 changed files with 4 additions and 4 deletions

View File

@ -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 {