From 2dde74ed88250353c4bcbeab13163f6e93d02c05 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 10 Sep 2018 19:52:06 +1200 Subject: Fix regression with nick ignoring --- idalius.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.1