From a898a149fbe7b19232115a068bdfd4da4b881c72 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 2 Mar 2010 06:22:45 +0000 Subject: Move DNSBL and ident lookups after /bancache/Z:line checks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12588 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/usermanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usermanager.cpp b/src/usermanager.cpp index b8acf9da7..22c8239b9 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -85,8 +85,6 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs */ 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 @@ -141,6 +139,8 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs */ 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()); -- cgit v1.2.3