From 40d674d14cff051207e2004211b9e4e7686bb524 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 9 May 2005 17:51:22 +0000 Subject: Fixes to way allocations are handled git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dnsqueue.cpp') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 80189a95e..1e1aa33c8 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -193,8 +193,8 @@ public: if (usr) { log(DEBUG,"New Lookup class for %s with DNSServer set to '%s'",nick.c_str(),DNSServer); - resolver.SetNS(std::string(DNSServer)); - if (!resolver.ReverseLookup(std::string(usr->host))) + resolver.SetNS(DNSServer); + if (!resolver.ReverseLookup(usr->host)) return false; strlcpy(u,nick.c_str(),NICKMAX); return true; -- cgit v1.2.3