]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Dns poll not called often enough
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 11 May 2005 00:12:17 +0000 (00:12 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 11 May 2005 00:12:17 +0000 (00:12 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1359 e03df62e-2008-0410-955e-edbf42e46eb7

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.