diff options
author | David Phillips <david@sighup.nz> | 2018-09-10 20:05:21 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-10 20:05:21 +1200 |
commit | 7fa7d0a4e3011caa6ad824c59cde43d4fe7c485b (patch) | |
tree | 2752841a5dd8ca62abae84e6b830a77210fdf2f2 /Plugin/URL_Title.pm | |
parent | 851fb8fb8feb881a63c40bce0d963ce425a95ef7 (diff) | |
download | idalius-7fa7d0a4e3011caa6ad824c59cde43d4fe7c485b.tar.xz |
Rename handlers to on_*
Diffstat (limited to 'Plugin/URL_Title.pm')
-rw-r--r-- | Plugin/URL_Title.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm index 6e0d775..53d6326 100644 --- a/Plugin/URL_Title.pm +++ b/Plugin/URL_Title.pm @@ -27,7 +27,7 @@ sub start_handler "tagname,self"); } -sub message +sub on_message { my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_; my $url; @@ -81,7 +81,7 @@ sub message return $composed_title; } -sub action { - message(@_); +sub on_action { + on_message(@_); } 1; |