aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Antiflood.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Antiflood.pm')
-rw-r--r--Plugin/Antiflood.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugin/Antiflood.pm b/Plugin/Antiflood.pm
index fbd77a5..eafa50c 100644
--- a/Plugin/Antiflood.pm
+++ b/Plugin/Antiflood.pm
@@ -18,7 +18,7 @@ sub configure {
return $self;
}
-sub message {
+sub on_message {
my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_;
my $channel = $where->[0];
my $nick = (split /!/, $who)[0];
@@ -36,7 +36,7 @@ sub message {
return;
}
-sub action {
- message(@_);
+sub on_action {
+ on_message(@_);
}
1;