don't throttle if it's a perl warn message
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@461
c11ca15a-4712-0410-83d8-
924469b57eb5
# Step 3:
### TODO: what's wrong with the following?
+ foreach (keys %userstats) {
+ next if (exists $userstats{$_}{'Count'});
+ delete $userstats{$_};
+ $delete++;
+ }
+ &DEBUG("chanstats: delete: $delete... nowtotal => ".scalar(keys %userstats) );
+
my %new = map { $userstats{$_}{'Count'} => $_ } keys %userstats;
my($count) = (sort { $b <=> $a } keys %new)[0];
if ($count) {
my $status;
if ($input eq $logold) {
- $logrepeat++;
+ $logrepeat++ unless (/!WARN! PERL: Use of uninitialized/);
if ($logrepeat >= 3) {
$logrepeat = 0;