Fixed ignoreagenthashcheck support for IP ranges.

This commit is contained in:
Ylian Saint-Hilaire 2020-12-31 11:17:35 -08:00
parent cfd428a139
commit 156d1511e4

View File

@ -1682,7 +1682,6 @@ module.exports.CreateMeshAgent = function (parent, db, ws, req, args, domain) {
// Return true if we need to ignore the agent hash check
function isIgnoreHashCheck() {
// Test
if ((args.ignoreagenthashcheck === true) || (domain.ignoreagenthashcheck === true)) return true;
// Check site wide exceptions