aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-10 19:52:06 +1200
committerDavid Phillips <david@sighup.nz>2018-09-10 19:56:02 +1200
commit2dde74ed88250353c4bcbeab13163f6e93d02c05 (patch)
tree72e2d1a42796b4a992d6f4939a07556b0f625f7f
parent3b62229959599e93a0baa491c6fef75e6af0dde0 (diff)
downloadidalius-2dde74ed88250353c4bcbeab13163f6e93d02c05.tar.xz
Fix regression with nick ignoring
-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 {