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:
parent
ac6d913290
commit
ece84c23f8
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user