diff options
| author | 2023-01-27 00:10:52 +0000 | |
|---|---|---|
| committer | 2023-01-27 04:15:36 +0000 | |
| commit | d4ff568093f9fa6acee9030f73179a78295a3777 (patch) | |
| tree | 7ae1d42feff0fe8f68613f5986713300df5fc1cf /src/modules/m_connectban.cpp | |
| parent | Rename some headers to match the common naming system. (diff) | |
Make reading the core config less of a mess.
Diffstat (limited to 'src/modules/m_connectban.cpp')
| -rw-r--r-- | src/modules/m_connectban.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index a65d8ab52..dd276d8cd 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -100,8 +100,8 @@ public: { const auto& tag = ServerInstance->Config->ConfValue("connectban"); - ipv4_cidr = tag->getNum<unsigned int>("ipv4cidr", ServerInstance->Config->c_ipv4_range, 1, 32); - ipv6_cidr = tag->getNum<unsigned int>("ipv6cidr", ServerInstance->Config->c_ipv6_range, 1, 128); + 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); bootwait = tag->getDuration("bootwait", 60*2); splitwait = tag->getDuration("splitwait", 60*2); |
