diff options
| author | 2024-10-11 12:49:18 +0100 | |
|---|---|---|
| committer | 2024-10-11 12:49:18 +0100 | |
| commit | feb670dfe89b41b878e30b74f198cb24c40ce0d2 (patch) | |
| tree | a6ba7f5207ccf90e89a587e33621d9f54051f8ab /src | |
| parent | Count services in the global user count. (diff) | |
Raise the minimum connectban threshold to 2.
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/m_connectban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); |
