From 417a2265b463f9e7a695e883b3a26036d03c0dc8 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 24 Nov 2018 21:35:25 +1300 Subject: Large refactor - modularise logging, rejoin and join-on-invitation --- Plugin/Jinx.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Plugin/Jinx.pm') diff --git a/Plugin/Jinx.pm b/Plugin/Jinx.pm index f1e712b..733291f 100644 --- a/Plugin/Jinx.pm +++ b/Plugin/Jinx.pm @@ -19,7 +19,7 @@ sub configure { } sub on_message { - my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_; + my ($self, $logger, $who, $where, $raw_what, $what, $irc) = @_; my $channel = $where->[0]; return if $last_response{$channel} and lc $what eq lc $last_response{$channel}; @@ -35,7 +35,7 @@ sub on_message { } sub on_action { - my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_; + my ($self, $logger, $who, $where, $raw_what, $what, $irc) = @_; my $channel = $where->[0]; return if $last_response{$channel} and lc $what eq lc $last_response{$channel}; @@ -53,7 +53,7 @@ sub on_action { # Even ignored nicks should be allowed to break a streak sub on_message_yes_really_even_from_ignored_nicks { - my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_; + my ($self, $logger, $who, $where, $raw_what, $what, $irc) = @_; my $channel = $where->[0]; return if $last{$channel} and lc $last{$channel} eq lc $what; -- cgit v1.1