aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2018-12-05 20:02:01 +1300
committerDavid Phillips <david@yeah.nah.nz>2018-12-05 20:02:01 +1300
commit01d8c9a4e7a161e520150a87f4797f46d71b3667 (patch)
treed31d59397185311bec575a3dbd6837ee08a72e9e /Plugin
parent999b51ea47a81f655de148d75c5340bab2952532 (diff)
downloadidalius-01d8c9a4e7a161e520150a87f4797f46d71b3667.tar.xz
Admin: add case for nobody ignored
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Admin.pm2
1 files changed, 1 insertions, 1 deletions
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}};
}