mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -527,7 +527,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
return;
|
||||
}
|
||||
|
||||
if(itemID != UUID.Zero && ownerID != UUID.Zero)
|
||||
if(!itemID.IsZero() && !ownerID.IsZero())
|
||||
{
|
||||
item = scene.InventoryService.GetItem(ownerID, itemID);
|
||||
if (item != null)
|
||||
|
||||
@@ -348,7 +348,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
public GroupRecord GetGroupRecord(UUID requestingAgentID, UUID GroupID, string GroupName)
|
||||
{
|
||||
Hashtable param = new Hashtable();
|
||||
if (GroupID != UUID.Zero)
|
||||
if (!GroupID.IsZero())
|
||||
{
|
||||
param["GroupID"] = GroupID.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user