summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 0c9adf7a2..ddc6993f0 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -223,6 +223,7 @@ public:
if ((hostname != "") && (usr->registered != 7))
{
strlcpy(usr->host,hostname.c_str(),MAXBUF);
+ strlcpy(usr->dhost,hostname.c_str(),MAXBUF);
WriteServ(usr->fd,"NOTICE Auth :Resolved your hostname: %s",hostname.c_str());
usr->dns_done = true;
return true;