mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -100,7 +100,7 @@ namespace OpenSim.Groups
|
||||
return false;
|
||||
}
|
||||
|
||||
if (grec.Data["Location"] == string.Empty)
|
||||
if (grec.Data["Location"].Length == 0)
|
||||
{
|
||||
reason = "Cannot add proxy membership to non-proxy group";
|
||||
return false;
|
||||
@@ -234,7 +234,7 @@ namespace OpenSim.Groups
|
||||
}
|
||||
|
||||
// check that the group is remote
|
||||
if (grec.ServiceLocation == string.Empty)
|
||||
if (grec.ServiceLocation.Length == 0)
|
||||
{
|
||||
m_log.DebugFormat("[Groups.HGGroupsService]: attempt at adding notice to local (non-proxy) group");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user