aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Antiflood.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Antiflood.pm')
-rw-r--r--Plugin/Antiflood.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/Plugin/Antiflood.pm b/Plugin/Antiflood.pm
index eafa50c..77d7f17 100644
--- a/Plugin/Antiflood.pm
+++ b/Plugin/Antiflood.pm
@@ -7,14 +7,11 @@ my $message_count = 5;
my $message_period = 11;
-my %config;
my %lastmsg = ();
sub configure {
- my $self = $_[0];
- my $cmdref = $_[1];
- my $cref = $_[2];
- %config = %$cref;
+ my $self = shift;
+ my $cmdref = shift;
return $self;
}