3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02: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) {
$self->{pbot}->{logger}->log("Temp ban for $mask in $channel.\n");
$data->{timeout} = gettimeofday + $timeout;
$self->{pbot}->{chanops}->enqueue_unban($channel, 'b', $mask, $timeout);
$self->enqueue_unban($channel, 'b', $mask, $timeout);
}
}
}