diff options
author | David Phillips <david@sighup.nz> | 2018-09-10 20:01:04 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-10 20:01:04 +1200 |
commit | 1242e695ea5deb1ac02b46b8ba42894d9e071b46 (patch) | |
tree | 45efea80ac284d7d6dac7f9266cd99b4d80f5528 | |
parent | 2dde74ed88250353c4bcbeab13163f6e93d02c05 (diff) | |
download | idalius-1242e695ea5deb1ac02b46b8ba42894d9e071b46.tar.xz |
Use should_ignore more widely
-rwxr-xr-x | idalius.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -251,7 +251,7 @@ sub irc_msg { my $is_admin = grep {$_ eq $who} @{$config{admins}}; # reject ignored nicks who aren't also admins (prevent lockout) - return if (grep {$_ eq $nick} @{$config{ignore}} and not $is_admin); + return if should_ignore($nick) and not $is_admin; if ($config{must_id} && $ided != 1) { $irc->yield(privmsg => $nick => "You must identify with services"); |