aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorGravatar special2007-09-13 15:45:55 +0000
committerGravatar special2007-09-13 15:45:55 +0000
commitad189b60a19b7b8b4c56d4160d238d074d7a2c3e (patch)
treeee065ffd097907b6a7b20c7ccb16681e854939ce /src/modules/m_ident.cpp
parentMade m_ident bind ident requests to the same IP the user is connected on, whi... (diff)
downloadinspircd++-ad189b60a19b7b8b4c56d4160d238d074d7a2c3e.tar.gz
inspircd++-ad189b60a19b7b8b4c56d4160d238d074d7a2c3e.tar.bz2
inspircd++-ad189b60a19b7b8b4c56d4160d238d074d7a2c3e.zip
Fixed a compile error in m_ident on ipv6
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8037 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index e4b22d78f..87022dbd5 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -205,7 +205,7 @@ class ModuleIdent : public Module
const char *ip = inet_ntoa(laddr.sin_addr);
#else
char ip[INET6_ADDRSTRLEN + 1];
- inet_ntop(laddr.sin6_family, laddr.sin6_addr, ip, INET6_ADDRSTRLEN);
+ inet_ntop(laddr.sin6_family, &laddr.sin6_addr, ip, INET6_ADDRSTRLEN);
#endif
IdentRequestSocket *isock = new IdentRequestSocket(ServerInstance, user, RequestTimeout, ip);