mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-18 14:30:40 +01:00
Remove ancient obsoleted -1 check on Nickserv account
This commit is contained in:
parent
7f87730de8
commit
9140cbec07
@ -95,7 +95,6 @@ sub get_baninfo {
|
|||||||
my ($self, $mask, $channel, $account) = @_;
|
my ($self, $mask, $channel, $account) = @_;
|
||||||
my ($bans, $ban_account);
|
my ($bans, $ban_account);
|
||||||
|
|
||||||
$account = undef if $account eq '-1';
|
|
||||||
$account = lc $account if defined $account;
|
$account = lc $account if defined $account;
|
||||||
|
|
||||||
if ($self->{pbot}->{registry}->get_value('bantracker', 'debug')) {
|
if ($self->{pbot}->{registry}->get_value('bantracker', 'debug')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user