aboutsummaryrefslogtreecommitdiff
path: root/plugin/antiflood.pm
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/antiflood.pm')
-rw-r--r--plugin/antiflood.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/antiflood.pm b/plugin/antiflood.pm
index 7eb5b7f..a44c07c 100644
--- a/plugin/antiflood.pm
+++ b/plugin/antiflood.pm
@@ -14,7 +14,8 @@ my %lastmsg = ();
sub configure {
my $self = $_[0];
- my $cref = $_[1];
+ my $cmdref = $_[1];
+ my $cref = $_[2];
%config = %$cref;
return $self;
}