diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index 5ffac83b..9ea14c6b 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -60,7 +60,9 @@ sub initialize { } sub ban_whitelisted { - my ($self, $channel, $mask) = lc @_; + my ($self, $channel, $mask) = @_; + $channel = lc $channel; + $mask = lc $mask; $self->{pbot}->logger->log("whitelist check: $channel, $mask\n"); return defined $self->{ban_whitelist}->hash->{$channel}->{$mask}->{ban_whitelisted} ? 1 : 0; diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index fb4abaee..2ad7ec8d 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 => 332, + BUILD_REVISION => 333, BUILD_DATE => "2011-12-11", };