From 01d8c9a4e7a161e520150a87f4797f46d71b3667 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 5 Dec 2018 20:02:01 +1300 Subject: Admin: add case for nobody ignored --- Plugin/Admin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/Admin.pm b/Plugin/Admin.pm index cc55e0c..a4847bc 100644 --- a/Plugin/Admin.pm +++ b/Plugin/Admin.pm @@ -221,7 +221,7 @@ sub dump_ignore { return "Syntax: who are you ignoring?" unless @arguments == 0; - # FIXME special case for empty ignore + return "I am ignoring nobody" unless @{$root_config->{ignore}}; return "I am ignoring: " . join ", ", @{$root_config->{ignore}}; } -- cgit v1.1