mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
BanList: fix call to enqueue_unban
This commit is contained in:
parent
1d80be0012
commit
41a15799d0
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user