diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 01f2a09..8653b23 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -106,7 +106,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
106 | 106 | ||
107 | public bool HandlesRegion(Location x) | 107 | public bool HandlesRegion(Location x) |
108 | { | 108 | { |
109 | return x == m_location; | 109 | return x.RegionHandle == m_location.RegionHandle; |
110 | //return x == m_location; | ||
110 | } | 111 | } |
111 | 112 | ||
112 | public void AddScene(Scene x) | 113 | public void AddScene(Scene x) |
@@ -306,6 +307,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
306 | // the next set of UDP data is for a valid client. | 307 | // the next set of UDP data is for a valid client. |
307 | ResetServerEndPoint(e); | 308 | ResetServerEndPoint(e); |
308 | } | 309 | } |
310 | catch (System.ObjectDisposedException) | ||
311 | { | ||
312 | m_log.Info("[UDPSERVER]: UDP Object disposed. No need to worry about this if you're restarting the simulator."); | ||
313 | } | ||
314 | |||
309 | } | 315 | } |
310 | 316 | ||
311 | /// <summary> | 317 | /// <summary> |