From 6f61dc870b47d73b7449951ac1293059a1793a8c Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Feb 2006 14:36:41 +0000 Subject: 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 --- src/modules/m_ident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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."); } -- cgit v1.2.3