mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -851,7 +851,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
{
|
||||
UUID granter = new UUID();
|
||||
UUID.TryParse(tmpPerm, out granter);
|
||||
if (granter != UUID.Zero)
|
||||
if (!granter.IsZero())
|
||||
{
|
||||
permsMask = mask;
|
||||
permsGranter = granter;
|
||||
|
||||
Reference in New Issue
Block a user