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

Remove left-over debug messages

This commit is contained in:
Pragmatic Software 2015-05-12 12:59:22 -07:00
parent 43806aa228
commit 9031d97910

View File

@ -568,7 +568,7 @@ sub check_bans {
foreach my $alias (keys %aliases) { foreach my $alias (keys %aliases) {
next if $alias =~ /^Guest\d+(?:!.*)?$/; next if $alias =~ /^Guest\d+(?:!.*)?$/;
$self->{pbot}->{logger}->log("anti-flood: [check-bans] checking blacklist for $alias in channel $channel\n") if $debug_checkban >= 4; $self->{pbot}->{logger}->log("anti-flood: [check-bans] checking blacklist for $alias in channel $channel\n") if $debug_checkban >= 5;
if ($self->{pbot}->{blacklist}->check_blacklist($alias, $channel)) { if ($self->{pbot}->{blacklist}->check_blacklist($alias, $channel)) {
my $baninfo = {}; my $baninfo = {};
$baninfo->{banmask} = $alias; $baninfo->{banmask} = $alias;
@ -728,7 +728,7 @@ sub on_endofwhois {
delete $self->{whois_pending}->{$nick}; delete $self->{whois_pending}->{$nick};
my ($id, $hostmask) = $self->{pbot}->{messagehistory}->{database}->find_message_account_by_nick($nick); my ($id, $hostmask) = $self->{pbot}->{messagehistory}->{database}->find_message_account_by_nick($nick);
$self->{pbot}->{logger}->log("endofwhois: Found [$id][$hostmask] for [$nick]\n"); # $self->{pbot}->{logger}->log("endofwhois: Found [$id][$hostmask] for [$nick]\n");
$self->{pbot}->{messagehistory}->{database}->link_aliases($id, $hostmask) if $id; $self->{pbot}->{messagehistory}->{database}->link_aliases($id, $hostmask) if $id;
return 0; return 0;
@ -744,7 +744,7 @@ sub on_whoisaccount {
$self->check_nickserv_accounts($nick, $account); $self->check_nickserv_accounts($nick, $account);
my ($id, $hostmask) = $self->{pbot}->{messagehistory}->{database}->find_message_account_by_nick($nick); my ($id, $hostmask) = $self->{pbot}->{messagehistory}->{database}->find_message_account_by_nick($nick);
$self->{pbot}->{logger}->log("whoisaccount: Found [$id][$hostmask][$account] for [$nick]\n"); # $self->{pbot}->{logger}->log("whoisaccount: Found [$id][$hostmask][$account] for [$nick]\n");
$self->{pbot}->{messagehistory}->{database}->link_aliases($id, undef, $account) if $id; $self->{pbot}->{messagehistory}->{database}->link_aliases($id, undef, $account) if $id;
return 0; return 0;