diff options
author | David Phillips <david@yeah.nah.nz> | 2018-12-05 20:02:01 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2018-12-05 20:02:01 +1300 |
commit | 01d8c9a4e7a161e520150a87f4797f46d71b3667 (patch) | |
tree | d31d59397185311bec575a3dbd6837ee08a72e9e | |
parent | 999b51ea47a81f655de148d75c5340bab2952532 (diff) | |
download | idalius-01d8c9a4e7a161e520150a87f4797f46d71b3667.tar.xz |
Admin: add case for nobody ignored
-rw-r--r-- | Plugin/Admin.pm | 2 |
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}}; } |