From aa09f5f1ccf65007a73da3da5b5b62a78bc42f74 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 12 Sep 2018 21:31:46 +1200 Subject: Jinx: Fix channel on action --- Plugin/Jinx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.1