]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/user_resolver.cpp
Partial fix for bug #441
[user/henk/code/inspircd.git] / src / user_resolver.cpp
index e7ae1ed0742131114c9b55c74a22997afd46551a..5fe2bebb34fa22a46b590e2b805de1b2155206b4 100644 (file)
@@ -11,6 +11,8 @@
  * ---------------------------------------------------
  */
 
+/* $Core: libIRCDuserresolver */
+
 #include "inspircd.h"
 
 UserResolver::UserResolver(InspIRCd* Instance, User* user, std::string to_resolve, QueryType qt, bool &cache) :
@@ -22,7 +24,6 @@ UserResolver::UserResolver(InspIRCd* Instance, User* user, std::string to_resolv
 
 void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl, bool cached, int resultnum)
 {
-       ServerInstance->Log(DEBUG, "Got a result (lookup complete)");
        /* We are only interested in the first matching result */
        if (resultnum)
                return;
@@ -103,7 +104,6 @@ void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl,
 
 void UserResolver::OnError(ResolverError e, const std::string &errormessage)
 {
-       ServerInstance->Log(DEBUG, "Resolver error: " + errormessage);
        if (ServerInstance->SE->GetRef(this->bound_fd) == this->bound_user)
        {
                this->bound_user->WriteServ("NOTICE Auth :*** Could not resolve your hostname: %s; using your IP address (%s) instead.", errormessage.c_str(), this->bound_user->GetIPString());