mirror of
https://github.com/pragma-/pbot.git
synced 2025-11-14 05:27:22 +01:00
PBot: reload: replace whitelist with ban-exemptions
This commit is contained in:
parent
bee6e18b8e
commit
382d15b975
@ -431,10 +431,10 @@ sub reload {
|
|||||||
return "Blacklist reloaded.";
|
return "Blacklist reloaded.";
|
||||||
},
|
},
|
||||||
|
|
||||||
'whitelist' => sub {
|
'ban-exemptions' => sub {
|
||||||
$self->{antiflood}->{whitelist}->clear;
|
$self->{antiflood}->{'ban-exemptions'}->clear;
|
||||||
$self->{antiflood}->{whitelist}->load;
|
$self->{antiflood}->{'ban-exemptions'}->load;
|
||||||
return "Whitelist reloaded.";
|
return "Ban exemptions reloaded.";
|
||||||
},
|
},
|
||||||
|
|
||||||
'ignores' => sub {
|
'ignores' => sub {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user