summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
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;