mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 11:12:42 +01:00
This commit is contained in:
parent
3b0b04f6e1
commit
acbed6810f
@ -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;
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user