3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-30 07:59:42 +01:00

Remove left-over nick/host lower-casing code

This commit is contained in:
Pragmatic Software 2013-11-17 17:05:20 +00:00
parent ac6d913290
commit ece84c23f8
2 changed files with 3 additions and 6 deletions

View File

@ -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 <channel>";
}
my $banmask = lc address_to_mask($host);
my $banmask = address_to_mask($host);
my $mask = "*!$user\@$banmask\$##stop_join_flood";

View File

@ -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;