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

Remove debugging print statements from AntiFlood.pm

This commit is contained in:
Pragmatic Software 2010-06-06 05:22:07 +00:00
parent 96be537c39
commit 8a5c7a99c2
2 changed files with 1 additions and 5 deletions

View File

@ -54,16 +54,12 @@ sub get_flood_account {
foreach my $n (keys %{ $self->{message_history} }) {
my $userhost = "$user\@$host";
print "cmp ${ $self->{message_history} }{$n}{hostmask} vs $userhost\n";
if(${ $self->{message_history} }{$n}{hostmask} =~ /\Q$userhost\E/i) {
$self->{pbot}->logger->log("Using existing hostmask found with nick $n\n");
print "return $n\n";
return $n;
}
print "fail\n";
}
print "undef\n";
return undef;
}

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 149,
BUILD_REVISION => 150,
BUILD_DATE => "2010-06-05",
};