From 1242e695ea5deb1ac02b46b8ba42894d9e071b46 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 10 Sep 2018 20:01:04 +1200 Subject: Use should_ignore more widely --- idalius.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.1