From 89904c1032bbece2747c3518b9f0e998f8da8cb5 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 3 Apr 2005 15:13:50 +0000 Subject: Fixed a few small dns timeout bugs (allowing users on without nick or user) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@960 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dnsqueue.cpp') 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; -- cgit v1.2.3