diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-02 06:22:45 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-02 06:22:45 +0000 |
commit | a898a149fbe7b19232115a068bdfd4da4b881c72 (patch) | |
tree | 9302e48a09b698fcd65c7966bb9c45cf10b553bf /src | |
parent | a840ad3c174addc97e0ebecc3188006b42d34f35 (diff) |
Move DNSBL and ident lookups after <connect deny>/bancache/Z:line checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12588 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/usermanager.cpp | 4 |
1 files 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()); |