aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index 42a77dd..102be30 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -297,9 +297,7 @@ namespace OpenSim.Region.Environment.Scenes
297 { 297 {
298 foreach (Scene mscene in m_localScenes) 298 foreach (Scene mscene in m_localScenes)
299 { 299 {
300 // .NET WEIRDNESS ALERT: need to compare the long 300 if((mscene.RegionInfo.InternalEndPoint.Address.Equals(ipEndPoint.Address.Address)) &&
301 // values of address...
302 if ((mscene.RegionInfo.InternalEndPoint.Address.Address == ipEndPoint.Address.Address) &&
303 (mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port)) 301 (mscene.RegionInfo.InternalEndPoint.Port == ipEndPoint.Port))
304 { 302 {
305 scene = mscene; 303 scene = mscene;