aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-12 21:31:46 +1200
committerDavid Phillips <david@sighup.nz>2018-09-12 21:31:46 +1200
commitaa09f5f1ccf65007a73da3da5b5b62a78bc42f74 (patch)
treed4a5afdecc9b9c6722a038ca61a59458a8cb6418
parent83027a8d04b3d2be69d179d85ae9958637aa16f4 (diff)
downloadidalius-aa09f5f1ccf65007a73da3da5b5b62a78bc42f74.tar.xz
Jinx: Fix channel on action
-rw-r--r--Plugin/Jinx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Jinx.pm b/Plugin/Jinx.pm
index 1717687..28461b4 100644
--- a/Plugin/Jinx.pm
+++ b/Plugin/Jinx.pm
@@ -45,7 +45,7 @@ sub on_action {
if ($last{$channel} and $last{$channel} eq $what) {
$last_response{$channel} = $what;
- $irc->yield(ctcp => $channel->[0] => "ACTION" => $what);
+ $irc->yield(ctcp => $channel => "ACTION" => $what);
return;
}