aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-05-16 14:02:49 +1200
committerDavid Phillips <david@sighup.nz>2018-05-16 14:02:49 +1200
commit56cf40827f8c54926936ecfbb256651493c70750 (patch)
treee9032609000943143039795cd647229ac7f1c0c5
parenteb2ff6434ee9ffe9354539186bbb7b8726788e0f (diff)
downloadidalius-56cf40827f8c54926936ecfbb256651493c70750.tar.xz
Add command to inspect ignores
-rwxr-xr-xidalius.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/idalius.pl b/idalius.pl
index c88ed8e..fd44242 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -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) {