aboutsummaryrefslogtreecommitdiff
path: root/idalius.pl
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-10 20:01:04 +1200
committerDavid Phillips <david@sighup.nz>2018-09-10 20:01:04 +1200
commit1242e695ea5deb1ac02b46b8ba42894d9e071b46 (patch)
tree45efea80ac284d7d6dac7f9266cd99b4d80f5528 /idalius.pl
parent2dde74ed88250353c4bcbeab13163f6e93d02c05 (diff)
downloadidalius-1242e695ea5deb1ac02b46b8ba42894d9e071b46.tar.xz
Use should_ignore more widely
Diffstat (limited to 'idalius.pl')
-rwxr-xr-xidalius.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index 8ba014a..9982930 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -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");