diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-12 12:43:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-12 12:43:55 +0000 |
commit | d4cb72e31251cf879e65854c82685dddf59072a6 (patch) | |
tree | c4bd6f8827179c9564ec61aeb2e4417830a48cd8 /src/dnsqueue.cpp | |
parent | 1905cc30e04e59bd40f5106cc66b575b0e680177 (diff) |
Make it work:
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r-- | src/dnsqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 975884796..ce0422fde 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -71,7 +71,7 @@ public: if (usr) { resolver1.SetNS(std::string(Config->DNSServer)); - if (!resolver1.ReverseLookup(std::string(usr->host))) + if (!resolver1.ReverseLookup(std::string(usr->host), true)) { return false; } @@ -166,7 +166,7 @@ public: } if (hostname != "") { - resolver2.ForwardLookup(hostname); + resolver2.ForwardLookup(hostname, true); if (resolver2.GetFD() != -1) dnslist[resolver2.GetFD()] = this; } |