mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
PBot: fix reload blacklist
This commit is contained in:
parent
243575cc5a
commit
4d87fa1682
@ -454,6 +454,7 @@ sub cmd_reload {
|
|||||||
},
|
},
|
||||||
|
|
||||||
'blacklist' => sub {
|
'blacklist' => sub {
|
||||||
|
$self->{blacklist}->clear_blacklist;
|
||||||
$self->{blacklist}->load_blacklist;
|
$self->{blacklist}->load_blacklist;
|
||||||
return "Blacklist reloaded.";
|
return "Blacklist reloaded.";
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user