summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-22 05:21:38 +0200
committerAdam <Adam@anope.org>2013-04-26 16:59:29 -0500
commit8428bbb387d4b1195156f0ab5a676d17b69b8d5f (patch)
tree6a4391bc908dfc8bbf3f7879cbb464a36204520f /src/usermanager.cpp
parent0f928805dbd793d7c0f10da1135ab79ad169472f (diff)
Modularize DNS
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp14
1 files changed, 0 insertions, 14 deletions
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)