summaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_connectban.cpp')
-rw-r--r--src/modules/m_connectban.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp
index 19408046f..524edb8a5 100644
--- a/src/modules/m_connectban.cpp
+++ b/src/modules/m_connectban.cpp
@@ -74,17 +74,11 @@ class ModuleConnectBan : public Module
switch (u->GetProtocolFamily())
{
- #ifdef SUPPORT_IP6LINKS
case AF_INET6:
- {
range = ipv6_cidr;
- }
break;
- #endif
case AF_INET:
- {
range = ipv4_cidr;
- }
break;
}