diff options
author | David Phillips <david@sighup.nz> | 2018-09-03 16:14:22 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-03 16:14:22 +1200 |
commit | 65694d185582c9a6558ea8bfee99e56a5721540b (patch) | |
tree | 9d6d3da4dd8eb15daff1c645b02cd84d123548e8 /Plugin/Antiflood.pm | |
parent | 14c1d55b97d61de7eb48acd4a5b745e2ba5e977a (diff) | |
download | idalius-65694d185582c9a6558ea8bfee99e56a5721540b.tar.xz |
Configurable modules
Diffstat (limited to 'Plugin/Antiflood.pm')
-rw-r--r-- | Plugin/Antiflood.pm | 2 |
1 files changed, 0 insertions, 2 deletions
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; |