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
* This will be done again after DNS resolution. -- w00t
*/
New->CheckClass();
+ if (New->quitting)
+ return;
/*
* even with bancache, we still have to keep User::exempt current.
*/
New->WriteServ("NOTICE Auth :*** Looking up your hostname...");
+ FOREACH_MOD(I_OnUserInit,OnUserInit(New));
+
if (ServerInstance->Config->NoUserDns)
{
New->WriteServ("NOTICE %s :*** Skipping host resolution (disabled by server administrator)", New->nick.c_str());