3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-26 20:52:37 +01:00

Channels: fix chanrem

This commit is contained in:
Pragmatic Software 2020-05-29 18:25:55 -07:00
parent d170b6b1ec
commit 159124cbe9

View File

@ -82,8 +82,8 @@ sub cmd_remove {
return "Usage: chanrem <channel>" if not length $context->{arguments};
# clear banlists
$self->{pbot}->{banlist}->remove($context->{arguments});
$self->{pbot}->{quietlist}->remove($context->{arguments});
$self->{pbot}->{banlist}->{banlist}->remove($context->{arguments});
$self->{pbot}->{banlist}->{quietlist}->remove($context->{arguments});
$self->{pbot}->{timer}->dequeue_event("unban $context->{arguments} .*");
$self->{pbot}->{timer}->dequeue_event("unmute $context->{arguments} .*");