From 8428bbb387d4b1195156f0ab5a676d17b69b8d5f Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 22 Apr 2013 05:21:38 +0200 Subject: Modularize DNS The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. --- src/usermanager.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/usermanager.cpp') diff --git a/src/usermanager.cpp b/src/usermanager.cpp index abd450b11..f1a3c0183 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -139,10 +139,6 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs this->QuitUser(New, "Internal error handling connection"); } - /* NOTE: even if dns lookups are *off*, we still need to display this. - * BOPM and other stuff requires it. - */ - New->WriteServ("NOTICE Auth :*** Looking up your hostname..."); if (ServerInstance->Config->RawLog) New->WriteServ("NOTICE Auth :*** Raw I/O logging is enabled on this server. All messages, passwords, and commands are being recorded."); @@ -151,16 +147,6 @@ void UserManager::AddUser(int socket, ListenSocket* via, irc::sockets::sockaddrs return; 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()); - New->dns_done = true; - } - else - { - New->StartDNSLookup(); - } } void UserManager::QuitUser(User *user, const std::string &quitreason, const char* operreason) -- cgit v1.3.1-10-gc9f91