From feb670dfe89b41b878e30b74f198cb24c40ce0d2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 11 Oct 2024 12:49:18 +0100 Subject: Raise the minimum connectban threshold to 2. --- src/modules/m_connectban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index f624630ae..7dd744f3d 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -103,7 +103,7 @@ public: ipv4_cidr = tag->getNum("ipv4cidr", ServerInstance->Config->IPv4Range, 1, 32); ipv6_cidr = tag->getNum("ipv6cidr", ServerInstance->Config->IPv6Range, 1, 128); - threshold = tag->getNum("threshold", 10, 1); + threshold = tag->getNum("threshold", 10, 2); bootwait = tag->getDuration("bootwait", 60*2); splitwait = tag->getDuration("splitwait", 60*2); banduration = tag->getDuration("banduration", 6*60*60, 1); -- cgit v1.3.1-10-gc9f91