]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dnsqueue.cpp
EXPERIMENTAL new socket engine code
[user/henk/code/inspircd.git] / src / dnsqueue.cpp
index d7b4119add2a2b740f9dde0415eba3723f10ea21..99f32988e55f382d60f1a2aaee2fbcc37ed9c843 100644 (file)
@@ -99,7 +99,6 @@ public:
        Lookup()
        {
                strcpy(u,"");
-               log(DEBUG,"Create class Lookup");
        }
 
        void Reset()
@@ -110,7 +109,6 @@ public:
 
        ~Lookup()
        {
-               log(DEBUG,"Delete class Lookup");
        }
 
        bool DoLookup(std::string nick)
@@ -209,9 +207,9 @@ public:
                                                        return true;
                                                }
                                        }
-                                       log(DEBUG,"Starting forwardlookup now for host '%s'...",hostname.c_str());
-                                       if ((resolver2.GetFD() <= 0) && (hostname != ""))
+                                       if (hostname != "")
                                        {
+                                               log(DEBUG,"Starting forwardlookup now for host '%s'...",hostname.c_str());
                                                resolver2.ForwardLookup(hostname);
                                        }
                                }