aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xidalius.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index bd2d1a8..8ba014a 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -154,7 +154,8 @@ sub strike_add {
}
sub should_ignore {
- return grep @{$config{ignore}};
+ my ($nick) = @_;
+ return grep {$_ eq $nick} @{$config{ignore}};
}
sub _start {