aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index a4a6b93..22666f4 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -382,13 +382,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
382 if (!foundExistingCircuit) 382 if (!foundExistingCircuit)
383 { 383 {
384 // This doesn't need locking as it's synchronized data 384 // This doesn't need locking as it's synchronized data
385 if (!clientCircuits_reverse.ContainsKey(useCircuit.CircuitCode.Code)) 385 clientCircuits_reverse[useCircuit.CircuitCode.Code] = epSender;
386 clientCircuits_reverse.Add(useCircuit.CircuitCode.Code, epSender);
387 386
388 lock (proxyCircuits) 387 lock (proxyCircuits)
389 { 388 {
390 if (!proxyCircuits.ContainsKey(useCircuit.CircuitCode.Code)) 389 proxyCircuits[useCircuit.CircuitCode.Code] = epProxy;
391 proxyCircuits.Add(useCircuit.CircuitCode.Code, epProxy);
392 } 390 }
393 391
394 PacketServer.AddNewClient(epSender, useCircuit, m_assetCache, m_circuitManager, epProxy); 392 PacketServer.AddNewClient(epSender, useCircuit, m_assetCache, m_circuitManager, epProxy);