aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index fbaf655..42a77dd 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -297,8 +297,10 @@ namespace OpenSim.Region.Environment.Scenes
297 { 297 {
298 foreach (Scene mscene in m_localScenes) 298 foreach (Scene mscene in m_localScenes)
299 { 299 {
300 if (mscene.RegionInfo.InternalEndPoint.Address == ipEndPoint.Address && 300 // .NET WEIRDNESS ALERT: need to compare the long
301 mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port) 301 // values of address...
302 if ((mscene.RegionInfo.InternalEndPoint.Address.Address == ipEndPoint.Address.Address) &&
303 (mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port))
302 { 304 {
303 scene = mscene; 305 scene = mscene;
304 return true; 306 return true;