fix a null ref on hg gatekeeper

This commit is contained in:
UbitUmarov
2017-05-12 14:42:21 +01:00
parent 0f2ab6bddd
commit 5e577baa10

View File

@@ -376,7 +376,7 @@ namespace OpenSim.Services.HypergridService
return false;
}
if(account.PrincipalID == new UUID("6571e388-6218-4574-87db-f9379718315e"))
if(aCircuit.AgentID == new UUID("6571e388-6218-4574-87db-f9379718315e"))
{
// really?
reason = "Invalid account ID";