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:
@@ -165,7 +165,7 @@ namespace OpenSim.Groups
|
||||
|
||||
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName)
|
||||
{
|
||||
if (GroupID != UUID.Zero)
|
||||
if (!GroupID.IsZero())
|
||||
return m_GroupsService.GetGroupRecord(RequestingAgentID, GroupID);
|
||||
else if (GroupName != null)
|
||||
return m_GroupsService.GetGroupRecord(RequestingAgentID, GroupName);
|
||||
|
||||
Reference in New Issue
Block a user