diff --git a/PBot/AntiFlood.pm b/PBot/AntiFlood.pm index 3827ad06..0c79988b 100644 --- a/PBot/AntiFlood.pm +++ b/PBot/AntiFlood.pm @@ -431,15 +431,12 @@ sub prune_message_history { sub unbanme { my ($self, $from, $nick, $user, $host, $arguments) = @_; my $channel = lc $arguments; - $nick = lc $nick; - $user = lc $user; - $host = lc $host; if(not defined $arguments or not defined $channel) { return "/msg $nick Usage: unbanme "; } - my $banmask = lc address_to_mask($host); + my $banmask = address_to_mask($host); my $mask = "*!$user\@$banmask\$##stop_join_flood"; diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 69bd5710..005d3489 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,8 +13,8 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 468, - BUILD_DATE => "2013-11-14", + BUILD_REVISION => 469, + BUILD_DATE => "2013-11-17", }; 1;