aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Communications/Local
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Communications/Local')
-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}