aboutsummaryrefslogtreecommitdiffstats
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-03-04 10:50:11 -0600
committerGravatar Daniel De Graaf2010-08-03 17:32:38 -0400
commit040b1bdc8b8e52089c8c3ba898b3badf60bd50aa (patch)
treebae473f62e06dda0d254c4a6a39a86a91055ec45 /src/usermanager.cpp
parentFix some more incorrect socket use (diff)
Fix m_ident deleting sockets that are still in use
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 af8e9e6d4..27790800c 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -50,14 +50,14 @@ void UserManager::AddUser(LocalUser* New, ListenSocket* via)
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