summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-26 13:38:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-26 13:38:59 +0000
commitbbf3562466ba41b04df7d6ad264bc22634996220 (patch)
treefb446dcfdf1eac6736c757b8ebf5e5a77a2761ef
parent9cbfcb73c977b195ef2095ee00f0dd0daa8532bd (diff)
Moved these into initialization-list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2921 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_ident.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index a524f70ed..bee6879c3 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -50,10 +50,8 @@ class RFC1413 : public InspSocket
public:
// The destructor makes damn sure the socket is freed :)
- RFC1413(userrec* user, int maxtime, Server* S) : InspSocket(user->host, 113, false, maxtime)
+ RFC1413(userrec* user, int maxtime, Server* S) : InspSocket(user->host, 113, false, maxtime), Srv(S), u(user)
{
- Srv = S;
- u = user;
Srv->Log(DEBUG,"Ident: associated with user "+std::string(user->nick));
}