3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00
This commit is contained in:
Pragmatic Software 2011-12-12 05:39:38 +00:00
parent 3b0b04f6e1
commit acbed6810f
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -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",
};