aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Jinx.pm
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2018-11-24 21:35:25 +1300
committerDavid Phillips <david@yeah.nah.nz>2018-11-24 21:56:03 +1300
commit417a2265b463f9e7a695e883b3a26036d03c0dc8 (patch)
treea5b93e62b1ec64957191bf79187d569653eb8ea4 /Plugin/Jinx.pm
parent7f2403aa647e72d83ec00ac596dfbef778945ff0 (diff)
downloadidalius-417a2265b463f9e7a695e883b3a26036d03c0dc8.tar.xz
Large refactor - modularise logging, rejoin and join-on-invitation
Diffstat (limited to 'Plugin/Jinx.pm')
-rw-r--r--Plugin/Jinx.pm6
1 files changed, 3 insertions, 3 deletions
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;