aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");