mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -224,7 +224,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// XXX: Might be better to get rid of this special casing and have GetMembershipData return something
|
||||
// reasonable for a UUID.Zero group.
|
||||
if (groupID != UUID.Zero)
|
||||
if (!groupID.IsZero())
|
||||
{
|
||||
GroupMembershipData gmd = m_groupsModule.GetMembershipData(groupID, remoteClient.AgentId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user