3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

PBot: fix reload blacklist

This commit is contained in:
Pragmatic Software 2020-06-01 21:48:17 -07:00
parent 243575cc5a
commit 4d87fa1682

View File

@ -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.";
}, },