diff options
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r-- | src/modules/m_cgiirc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index a866d938d..3ab2f50be 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -385,10 +385,8 @@ public: if (user->GetProtocolFamily() == AF_INET6) inet_pton(AF_INET6, newip, &((sockaddr_in6*)user->ip)->sin6_addr); else - inet_aton(newip, &((sockaddr_in*)user->ip)->sin_addr); -#else - inet_aton(newip, &((sockaddr_in*)user->ip)->sin_addr); #endif + inet_aton(newip, &((sockaddr_in*)user->ip)->sin_addr); try { |