summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-02 06:08:37 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-02 06:08:37 +0000
commita840ad3c174addc97e0ebecc3188006b42d34f35 (patch)
tree07b699a26201aa0238f65ba05bda8f80d9f11de1 /src/usermanager.cpp
parent9b2cb52a12bf17d23417e689a1c07765d3bdaed5 (diff)
Fix m_ident deleting sockets that are still in use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12586 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index 15066fd28..b8acf9da7 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -79,14 +79,14 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs
return;
}
- FOREACH_MOD(I_OnUserInit,OnUserInit(New));
-
/*
* First class check. We do this again in FullConnect after DNS is done, and NICK/USER is recieved.
* See my note down there for why this is required. DO NOT REMOVE. :) -- w00t
*/
New->SetClass();
+ FOREACH_MOD(I_OnUserInit,OnUserInit(New));
+
/*
* Check connect class settings and initialise settings into User.
* This will be done again after DNS resolution. -- w00t