Fix default limit

This commit is contained in:
Ilia
2022-04-12 00:45:46 +03:00
parent a38d1a0831
commit 3cbc170648

View File

@@ -82,7 +82,7 @@ while(<$fh2>) {
my $candelete = 1;
my $ipslimit = sub {
my ($ips, $limit) = @_;
$limit ||= 5;
$limit ||= 15;
# Limit sanity check and adjustment
$limit = 1 if ($limit < 1);
$limit -= 1;