diff options
author | David Phillips <david@sighup.nz> | 2018-05-16 14:02:49 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-05-16 14:02:49 +1200 |
commit | 56cf40827f8c54926936ecfbb256651493c70750 (patch) | |
tree | e9032609000943143039795cd647229ac7f1c0c5 | |
parent | eb2ff6434ee9ffe9354539186bbb7b8726788e0f (diff) | |
download | idalius-56cf40827f8c54926936ecfbb256651493c70750.tar.xz |
Add command to inspect ignores
-rwxr-xr-x | idalius.pl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -294,6 +294,10 @@ sub irc_msg { $irc->yield(privmsg => $nick => "Syntax: topic <channel> <topic>"); } } + if ($what =~ /^who are you ignoring/) { + my $ignores = join ", ", @{$config{ignore}}; + $irc->yield(privmsg => $nick => "I am ignoring: $ignores"); + } if ($what =~ /^mode\s/) { my ($rest) = $what =~ /^mode\s+(.*)?$/; if ($rest) { |