3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

Correct variable $ch to $channel

This commit is contained in:
Pragmatic Software 2010-06-12 01:52:11 +00:00
parent a70d8a1fd5
commit 347bb86bac
2 changed files with 3 additions and 3 deletions

View File

@ -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}) {

View File

@ -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",
};