From 8a5c7a99c230cfccc50eec1ee0e61e6198165ab1 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 6 Jun 2010 05:22:07 +0000 Subject: [PATCH] Remove debugging print statements from AntiFlood.pm --- PBot/AntiFlood.pm | 4 ---- PBot/VERSION.pm | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index 36074c1c..9f9ce5d8 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -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; } diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index aaf42911..3de75547 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 => 149, + BUILD_REVISION => 150, BUILD_DATE => "2010-06-05", };