mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -189,7 +189,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||
public string RegisterRegion(UUID scopeID, GridRegion regionInfo)
|
||||
{
|
||||
string msg = m_LocalGridService.RegisterRegion(scopeID, regionInfo);
|
||||
if (msg == string.Empty && m_RemoteGridService != null)
|
||||
if (msg.Length == 0 && m_RemoteGridService != null)
|
||||
return m_RemoteGridService.RegisterRegion(scopeID, regionInfo);
|
||||
|
||||
return msg;
|
||||
|
||||
Reference in New Issue
Block a user