cosmetics

This commit is contained in:
UbitUmarov
2022-01-13 13:59:41 +00:00
parent c5f5fa0d2e
commit 6595e3ae26
10 changed files with 13 additions and 13 deletions

View File

@@ -183,7 +183,7 @@ namespace OpenSim.Groups
public ExtendedGroupRecord GetGroupRecord(string RequestingAgentID, UUID GroupID, string GroupName)
{
if (GroupID.IsZero() && (GroupName == null || GroupName != null && GroupName == string.Empty))
if (GroupID.IsZero() && string.IsNullOrEmpty(GroupName))
return null;
return m_CacheWrapper.GetGroupRecord(RequestingAgentID,GroupID,GroupName, delegate