diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 14:36:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 14:36:41 +0000 |
commit | 6f61dc870b47d73b7449951ac1293059a1793a8c (patch) | |
tree | e3b20b38ef385be81a726e997920bc9f54ef2fd7 | |
parent | 5a17e1b8bd690a573c91e5c69f2c150fe0516f7a (diff) |
Why are we using the users hostname to connect back to port 113? we can use ip here, and save ourselves a lookup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3043 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_ident.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 2f8ac8283..821576df8 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -39,7 +39,7 @@ class RFC1413 : public InspSocket char ident_request[128]; // buffer used to make up the request string public: - RFC1413(userrec* user, int maxtime, Server* S) : InspSocket(user->host, 113, false, maxtime), Srv(S), u(user) + RFC1413(userrec* user, int maxtime, Server* S) : InspSocket((char*)inet_ntoa(user->ip4), 113, false, maxtime), Srv(S), u(user) { Srv->Log(DEBUG,"Ident: associated."); } |