3
0
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:
Pragmatic Software 2020-03-07 18:33:33 -08:00
parent 89b6096901
commit 3eb35a876f

View File

@ -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");