mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-03 17:39:29 +01:00
Plugins/AntiRepeat: replace debug value with production value
This commit is contained in:
parent
89b6096901
commit
3eb35a876f
@ -126,7 +126,7 @@ sub on_public {
|
|||||||
if (keys %{$self->{offenses}->{$account}} == 0) { delete $self->{offenses}->{$account}; }
|
if (keys %{$self->{offenses}->{$account}} == 0) { delete $self->{offenses}->{$account}; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}, 10, "antirepeat offense-- $account $channel", 1
|
}, 60 * 60 * 2, "antirepeat offense-- $account $channel", 1
|
||||||
);
|
);
|
||||||
|
|
||||||
$self->{pbot}->{logger}->log("$nick!$user\@$host triggered anti-repeat; offense $self->{offenses}->{$account}->{$channel}->{offenses}\n");
|
$self->{pbot}->{logger}->log("$nick!$user\@$host triggered anti-repeat; offense $self->{offenses}->{$account}->{$channel}->{offenses}\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user