3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 05:49:27 +01:00

Corrected inverted ternary herp

This commit is contained in:
Pragmatic Software 2011-12-12 04:21:59 +00:00
parent 6dee494ffd
commit 3b0b04f6e1
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ sub ban_whitelisted {
my ($self, $channel, $mask) = lc @_;
$self->{pbot}->logger->log("whitelist check: $channel, $mask\n");
return defined $self->{ban_whitelist}->hash->{$channel}->{$mask}->{ban_whitelisted} ? 0 : 1;
return defined $self->{ban_whitelist}->hash->{$channel}->{$mask}->{ban_whitelisted} ? 1 : 0;
}
sub whitelist {

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 331,
BUILD_REVISION => 332,
BUILD_DATE => "2011-12-11",
};