summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
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.