aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-04-10 16:18:14 +1200
committerDavid Phillips <david@sighup.nz>2018-04-10 16:18:14 +1200
commit25be5288687f6aff2e269b04d552fea03671d4e4 (patch)
treed7bcf7044fc5e953733a7f4c11a766f42815f066
parent27b7ce40ab9ec18fb6312f0b499350044a91f786 (diff)
downloadidalius-25be5288687f6aff2e269b04d552fea03671d4e4.tar.xz
Strike on commands too
-rwxr-xr-xidalius.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/idalius.pl b/idalius.pl
index 89b74ca..37073d4 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -181,6 +181,7 @@ sub irc_public {
if ($stripped_what =~ s/^$config{prefix}//) {
$output = run_command($stripped_what, $who, $where);
$irc->yield(privmsg => $where => $output) if $output;
+ strike_add $nick if $output;
}
for my $module (@plugin_list) {