summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-13 15:45:55 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2007-09-13 15:45:55 +0000
commitad189b60a19b7b8b4c56d4160d238d074d7a2c3e (patch)
treeee065ffd097907b6a7b20c7ccb16681e854939ce
parent0a1fe6cf293bef91b419f57374b96a6d2aec636e (diff)
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
-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);