3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 12:29:27 +01:00

BanList: fix call to enqueue_unban

This commit is contained in:
Pragmatic Software 2020-10-23 00:22:15 -07:00
parent 1d80be0012
commit 41a15799d0

View File

@ -229,7 +229,7 @@ sub compare_banlist {
if ($timeout) { if ($timeout) {
$self->{pbot}->{logger}->log("Temp ban for $mask in $channel.\n"); $self->{pbot}->{logger}->log("Temp ban for $mask in $channel.\n");
$data->{timeout} = gettimeofday + $timeout; $data->{timeout} = gettimeofday + $timeout;
$self->{pbot}->{chanops}->enqueue_unban($channel, 'b', $mask, $timeout); $self->enqueue_unban($channel, 'b', $mask, $timeout);
} }
} }
} }