diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-11 00:12:17 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-11 00:12:17 +0000 |
commit | 9d449257ea2c404eaedd252602588b2812e42045 (patch) | |
tree | aa687560bea953f19945dac682fe39bdb2b792a4 /src | |
parent | a194fcaed59490840b3b6aa54e8367a003913ca5 (diff) |
Dns poll not called often enough
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1359 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 41aaa4356..21e3bffd9 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -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. |