summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dnsqueue.cpp6
1 files changed, 4 insertions, 2 deletions
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