summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-12 12:43:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-12 12:43:55 +0000
commitd4cb72e31251cf879e65854c82685dddf59072a6 (patch)
treec4bd6f8827179c9564ec61aeb2e4417830a48cd8 /src/inspsocket.cpp
parent1905cc30e04e59bd40f5106cc66b575b0e680177 (diff)
Make it work:
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index cc0368525..7f4041cb6 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -104,7 +104,7 @@ InspSocket::InspSocket(const std::string &ahost, int aport, bool listening, unsi
log(DEBUG,"Attempting to resolve %s",this->host);
/* Its not an ip, spawn the resolver */
this->dns.SetNS(std::string(Config->DNSServer));
- this->dns.ForwardLookupWithFD(host,fd);
+ this->dns.ForwardLookupWithFD(host,fd, true);
timeout_end = time(NULL) + maxtime;
timeout = false;
this->state = I_RESOLVING;