diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs index f9cd90f..131febd 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/HGGridConnector.cs | |||
@@ -200,7 +200,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
200 | 200 | ||
201 | #region IGridService | 201 | #region IGridService |
202 | 202 | ||
203 | public bool RegisterRegion(UUID scopeID, GridRegion regionInfo) | 203 | public string RegisterRegion(UUID scopeID, GridRegion regionInfo) |
204 | { | 204 | { |
205 | // Region doesn't exist here. Trying to link remote region | 205 | // Region doesn't exist here. Trying to link remote region |
206 | if (regionInfo.RegionID.Equals(UUID.Zero)) | 206 | if (regionInfo.RegionID.Equals(UUID.Zero)) |
@@ -215,12 +215,12 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
215 | 215 | ||
216 | // Try get the map image | 216 | // Try get the map image |
217 | m_HypergridServiceConnector.GetMapImage(regionInfo); | 217 | m_HypergridServiceConnector.GetMapImage(regionInfo); |
218 | return true; | 218 | return String.Empty; |
219 | } | 219 | } |
220 | else | 220 | else |
221 | { | 221 | { |
222 | m_log.Info("[HGrid]: No such region " + regionInfo.ExternalHostName + ":" + regionInfo.HttpPort + "(" + regionInfo.InternalEndPoint.Port + ")"); | 222 | m_log.Info("[HGrid]: No such region " + regionInfo.ExternalHostName + ":" + regionInfo.HttpPort + "(" + regionInfo.InternalEndPoint.Port + ")"); |
223 | return false; | 223 | return "No such region"; |
224 | } | 224 | } |
225 | // Note that these remote regions aren't registered in localBackend, so return null, no local listeners | 225 | // Note that these remote regions aren't registered in localBackend, so return null, no local listeners |
226 | } | 226 | } |
@@ -469,7 +469,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
469 | } | 469 | } |
470 | 470 | ||
471 | // Finally, link it | 471 | // Finally, link it |
472 | if (!RegisterRegion(UUID.Zero, regInfo)) | 472 | if (RegisterRegion(UUID.Zero, regInfo) != String.Empty) |
473 | { | 473 | { |
474 | m_log.Warn("[HGrid]: Unable to link region"); | 474 | m_log.Warn("[HGrid]: Unable to link region"); |
475 | return false; | 475 | return false; |