From 347bb86bac6b7fe02b2c113ceba7602c728cfecc Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 12 Jun 2010 01:52:11 +0000 Subject: [PATCH] Correct variable $ch to $channel --- PBot/AntiFlood.pm | 4 ++-- PBot/VERSION.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index d3271e2b..537638d9 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -119,8 +119,8 @@ sub check_flood { } } elsif($text =~ /^QUIT Ping timeout/) { # deal with ping timeouts agressively - ${ $self->message_history }{$account}{$ch}{join_watch}++; - $self->{pbot}->logger->log("$nick $ch joinwatch adjusted: ${ $self->message_history }{$account}{$ch}{join_watch}\n"); + ${ $self->message_history }{$account}{$channel}{join_watch}++; + $self->{pbot}->logger->log("$nick $channel joinwatchannel adjusted: ${ $self->message_history }{$account}{$channel}{join_watchannel}\n"); } } } elsif($mode == $self->{FLOOD_CHAT}) { diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 8b75c8d7..9db356f0 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 158, + BUILD_REVISION => 159, BUILD_DATE => "2010-06-11", };