aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Jinx.pm
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-10 20:05:21 +1200
committerDavid Phillips <david@sighup.nz>2018-09-10 20:05:21 +1200
commit7fa7d0a4e3011caa6ad824c59cde43d4fe7c485b (patch)
tree2752841a5dd8ca62abae84e6b830a77210fdf2f2 /Plugin/Jinx.pm
parent851fb8fb8feb881a63c40bce0d963ce425a95ef7 (diff)
downloadidalius-7fa7d0a4e3011caa6ad824c59cde43d4fe7c485b.tar.xz
Rename handlers to on_*
Diffstat (limited to 'Plugin/Jinx.pm')
-rw-r--r--Plugin/Jinx.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugin/Jinx.pm b/Plugin/Jinx.pm
index 507f242..04c43c8 100644
--- a/Plugin/Jinx.pm
+++ b/Plugin/Jinx.pm
@@ -21,7 +21,7 @@ sub configure {
return $self;
}
-sub message {
+sub on_message {
my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_;
return if defined $last_response and $what eq $last_response;
@@ -36,7 +36,7 @@ sub message {
return;
}
-sub action {
+sub on_action {
my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_;
return if defined $last_response and $what eq $last_response;