summaryrefslogtreecommitdiff
path: root/src/modules/m_connectban.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:06:47 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:06:47 +0000
commit819147178db00008a215670992d0f532dd57f9e5 (patch)
treeadb4695096f5107cf4b81d03a98d27db28f8d007 /src/modules/m_connectban.cpp
parent5c93325b53342095f7f7ba0339e4f3ea52229dfe (diff)
Strip SUPPORT_IP6LINKS #define
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7
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;
}