mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +01:00
Remove unnecessary printing of ignored messages
This commit is contained in:
parent
bded959ba4
commit
dbfb8a6add
@ -110,7 +110,6 @@ sub process_line {
|
|||||||
if((defined $command && $command !~ /^login/i) || defined $has_url || defined $has_code) {
|
if((defined $command && $command !~ /^login/i) || defined $has_url || defined $has_code) {
|
||||||
if(defined $from && $pbot->{ignorelist}->check_ignore($nick, $user, $host, $from) && not $pbot->{admins}->loggedin($from, "$nick!$user\@$host")) {
|
if(defined $from && $pbot->{ignorelist}->check_ignore($nick, $user, $host, $from) && not $pbot->{admins}->loggedin($from, "$nick!$user\@$host")) {
|
||||||
# ignored hostmask
|
# ignored hostmask
|
||||||
$pbot->{logger}->log("ignored message: $from <$nick!$user\@$host> $text\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user