mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -506,7 +506,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
|
||||
{
|
||||
foreach (PresenceInfo p in presences)
|
||||
{
|
||||
if (p.RegionID != UUID.Zero)
|
||||
if (!p.RegionID.IsZero())
|
||||
{
|
||||
upd = p;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user