summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-02 19:58:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-02 19:58:58 +0000
commitd046263d7577521a10f40296ea4a574fded1d821 (patch)
tree5a2b4abe62967ee7a133f1df4000694be4c2727b
parent409a296faba6505388ba47f7eac5274a753c05c8 (diff)
Fixed dns queue stuff?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@954 e03df62e-2008-0410-955e-edbf42e46eb7
-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