fix vanity NS check

This commit is contained in:
AJ ONeal 2017-11-02 13:08:23 -06:00
parent 7a201e4d8a
commit f3105971a4
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ module.exports.query = function (input, query, cb) {
console.log("It's NS"); console.log("It's NS");
// If it's a vanity NS, it's not a valid NS for lookup // If it's a vanity NS, it's not a valid NS for lookup
if (-1 !== db.primaryNameservers.indexOf(r.data.toLowerCase())) { if (-1 === db.primaryNameservers.indexOf(r.data.toLowerCase())) {
console.log("It's a vanity NS"); console.log("It's a vanity NS");
return false; return false;
} }