aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
diff options
context:
space:
mode:
authordiva2009-03-22 06:31:32 +0000
committerdiva2009-03-22 06:31:32 +0000
commit047d753cd086295fdb9ab4c4d6a1a1d19fdfcc97 (patch)
tree212de09b2e4177e169b5ab1a96ef9cdfd2202add /OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
parentMoving the LoginAuth service up, so that it can be shared among standalones a... (diff)
downloadopensim-SC_OLD-047d753cd086295fdb9ab4c4d6a1a1d19fdfcc97.zip
opensim-SC_OLD-047d753cd086295fdb9ab4c4d6a1a1d19fdfcc97.tar.gz
opensim-SC_OLD-047d753cd086295fdb9ab4c4d6a1a1d19fdfcc97.tar.bz2
opensim-SC_OLD-047d753cd086295fdb9ab4c4d6a1a1d19fdfcc97.tar.xz
Explicit tests for local regions.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs b/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
index e5a01ef..3997258 100644
--- a/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
+++ b/OpenSim/Region/CoreModules/Communications/Local/LocalInterregionComms.cs
@@ -260,6 +260,15 @@ namespace OpenSim.Region.CoreModules.Communications.Local
260 // ? weird. should not happen 260 // ? weird. should not happen
261 return m_sceneList[0].RegionInfo.RegionID; 261 return m_sceneList[0].RegionInfo.RegionID;
262 } 262 }
263
264 public bool IsLocalRegion(ulong regionhandle)
265 {
266 foreach (Scene s in m_sceneList)
267 if (s.RegionInfo.RegionHandle == regionhandle)
268 return true;
269 return false;
270 }
271
263 #endregion 272 #endregion
264 } 273 }
265} 274}