diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index 397062b..32628f8 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -322,6 +322,13 @@ namespace OpenSim.Region.Communications.OGS1 | |||
322 | /// </returns> | 322 | /// </returns> |
323 | public RegionInfo RequestNeighbourInfo(UUID Region_UUID) | 323 | public RegionInfo RequestNeighbourInfo(UUID Region_UUID) |
324 | { | 324 | { |
325 | // don't ask the gridserver about regions on this instance... | ||
326 | foreach (RegionInfo info in m_regionsOnInstance) | ||
327 | { | ||
328 | if (info.RegionID == Region_UUID) return info; | ||
329 | } | ||
330 | |||
331 | // didn't find it so far, we have to go the long way | ||
325 | RegionInfo regionInfo; | 332 | RegionInfo regionInfo; |
326 | Hashtable requestData = new Hashtable(); | 333 | Hashtable requestData = new Hashtable(); |
327 | requestData["region_UUID"] = Region_UUID.ToString(); | 334 | requestData["region_UUID"] = Region_UUID.ToString(); |