mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Channels: fix chanrem
This commit is contained in:
parent
d170b6b1ec
commit
159124cbe9
@ -82,8 +82,8 @@ sub cmd_remove {
|
|||||||
return "Usage: chanrem <channel>" if not length $context->{arguments};
|
return "Usage: chanrem <channel>" if not length $context->{arguments};
|
||||||
|
|
||||||
# clear banlists
|
# clear banlists
|
||||||
$self->{pbot}->{banlist}->remove($context->{arguments});
|
$self->{pbot}->{banlist}->{banlist}->remove($context->{arguments});
|
||||||
$self->{pbot}->{quietlist}->remove($context->{arguments});
|
$self->{pbot}->{banlist}->{quietlist}->remove($context->{arguments});
|
||||||
$self->{pbot}->{timer}->dequeue_event("unban $context->{arguments} .*");
|
$self->{pbot}->{timer}->dequeue_event("unban $context->{arguments} .*");
|
||||||
$self->{pbot}->{timer}->dequeue_event("unmute $context->{arguments} .*");
|
$self->{pbot}->{timer}->dequeue_event("unmute $context->{arguments} .*");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user