From 65694d185582c9a6558ea8bfee99e56a5721540b Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 3 Sep 2018 16:14:22 +1200 Subject: Configurable modules --- Plugin/Antiflood.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'Plugin/Antiflood.pm') diff --git a/Plugin/Antiflood.pm b/Plugin/Antiflood.pm index c133e77..3a79d0d 100644 --- a/Plugin/Antiflood.pm +++ b/Plugin/Antiflood.pm @@ -23,8 +23,6 @@ sub message { my $channel = $where->[0]; my $nick = (split /!/, $who)[0]; - return if ($config{antiflood_on} == 0); - my $now = time(); push @{$lastmsg{$nick}}, $now; -- cgit v1.1