From 040b1bdc8b8e52089c8c3ba898b3badf60bd50aa Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Thu, 4 Mar 2010 10:50:11 -0600 Subject: Fix m_ident deleting sockets that are still in use --- src/usermanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usermanager.cpp') 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 -- cgit v1.3.1-10-gc9f91