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:
parent
a70d8a1fd5
commit
347bb86bac
@ -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}) {
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user