]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Dns poll not called often enough
[user/henk/code/inspircd.git] / src / inspircd.cpp
index 41aaa4356a5892f2624a4d817b9f735153654d49..21e3bffd97759d51492b86151b46a49208cc9af3 100644 (file)
@@ -4207,9 +4207,7 @@ int InspIRCd(char** argv, int argc)
                OLDTIME = TIME;
                TIME = time(NULL);
 
-               // poll dns queue
-               if (TIME != OLDTIME)
-                       dns_poll();
+               dns_poll();
 
                // *FIX* Instead of closing sockets in kill_link when they receive the ERROR :blah line, we should queue
                // them in a list, then reap the list every second or so.