summaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-18 18:26:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-18 18:26:46 +0000
commit525e038f8df80be4f743d26a7f7f75293b2618b5 (patch)
treec7fade8c4643aefbcf5e1359e1bae35d9fa0757e /src/modules/m_ident.cpp
parent08e490f7066b62383983a17f5404a732dfff3870 (diff)
Fix here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8229 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 fc663c714..705b0d16d 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -63,7 +63,7 @@ class IdentRequestSocket : public EventHandler
memcpy(&((sockaddr_in6*)addr)->sin6_addr, &addy, sizeof(addy));
((sockaddr_in6*)addr)->sin6_port = htons(113);
size = sizeof(sockaddr_in6);
- inet_pton(AF_INET6, IP.c_str(), &n);
+ inet_pton(AF_INET6, bindip.c_str(), &n);
memcpy(&((sockaddr_in6*)s)->sin6_addr, &n, sizeof(sockaddr_in6));
((sockaddr_in6*)s)->sin6_port = 0;
((sockaddr_in6*)s)->sin6_family = AF_INET6;