From d046263d7577521a10f40296ea4a574fded1d821 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 2 Apr 2005 19:58:58 +0000 Subject: Fixed dns queue stuff? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@954 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 5668355b8..58d55c1a5 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -211,8 +211,9 @@ public: usr = Find(u); if (usr) { - if (usr->registered == 7) + if (usr->registered > 3) { + usr->dns_done = true; return true; } if ((hostname != "") && (usr->registered != 7)) @@ -222,7 +223,8 @@ public: usr->dns_done = true; return true; } - return false; + usr->dns_done = true; + return true; } } else -- cgit v1.2.3