mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -134,11 +134,11 @@ namespace OpenSim.Groups
|
||||
|
||||
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName)
|
||||
{
|
||||
if (GroupID == UUID.Zero && (GroupName == null || (GroupName != null && GroupName == string.Empty)))
|
||||
if (GroupID.IsZero() && (GroupName == null || (GroupName != null && GroupName == string.Empty)))
|
||||
return null;
|
||||
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
if (GroupID != UUID.Zero)
|
||||
if (!GroupID.IsZero())
|
||||
sendData["GroupID"] = GroupID.ToString();
|
||||
if (!string.IsNullOrEmpty(GroupName))
|
||||
sendData["Name"] = GroupsDataUtils.Sanitize(GroupName);
|
||||
|
||||
Reference in New Issue
Block a user