3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

Fix chanrem command

This commit is contained in:
Pragmatic Software 2022-01-01 21:30:20 -08:00
parent dac9555fa4
commit f78e7bea88

View File

@ -85,7 +85,7 @@ sub cmd_remove {
$self->{pbot}->{event_queue}->dequeue_event("unmute $context->{arguments} .*");
# TODO: ignores, etc?
return $self->{storage}->remove($context->{arguments});
return $self->{pbot}->{channels}->{storage}->remove($context->{arguments});
}
sub cmd_list {