summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:35:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:35:54 +0000
commit8f0f9654f841f8034be4c071660a378a91434782 (patch)
tree178ed3294bfd1005504c72c46baaa64009583bbb /src/dns.cpp
parented94fb6c55eb67919babc51b31c9ef617aeb2157 (diff)
This fixed. Initialise dns at the end of pass 1 before loading first set of modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8582 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 8a274577e..1918053b5 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -338,6 +338,8 @@ void DNS::Rehash()
this->ip6munge = true;
}
+ printf("dns server: %s\n", ServerInstance->Config->DNSServer);
+
this->socketfamily = AF_INET;
#ifdef IPV6
if (strchr(ServerInstance->Config->DNSServer,':'))