aboutsummaryrefslogtreecommitdiffstats
path: root/modules/connectban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-11-01 14:35:23 +0000
committerGravatar Sadie Powell2024-11-01 15:53:04 +0000
commit8a3aba4044ee10df332631c4c66ed60299566e58 (patch)
treeafb185a313dff83d61c26e3b95f47b62d3ab5694 /modules/connectban.cpp
parentDefault <options:extbanformat> to name. (diff)
parentUse fmtlib instead of iostream in ConvToStr where available. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/connectban.cpp')
-rw-r--r--modules/connectban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/connectban.cpp b/modules/connectban.cpp
index 1e22d6923..8af981e0e 100644
--- a/modules/connectban.cpp
+++ b/modules/connectban.cpp
@@ -100,7 +100,7 @@ public:
ipv4_cidr = tag->getNum<unsigned int>("ipv4cidr", ServerInstance->Config->IPv4Range, 1, 32);
ipv6_cidr = tag->getNum<unsigned int>("ipv6cidr", ServerInstance->Config->IPv6Range, 1, 128);
- threshold = tag->getNum<unsigned long>("threshold", 10, 1);
+ threshold = tag->getNum<unsigned long>("threshold", 10, 2);
bootwait = tag->getDuration("bootwait", 60*2);
splitwait = tag->getDuration("splitwait", 60*2);
banduration = tag->getDuration("banduration", 6*60*60, 1);