diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 570ebe9..321c2ff 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -380,6 +380,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
380 | //Slave regions don't accept new clients | 380 | //Slave regions don't accept new clients |
381 | if (m_localScene.Region_Status != RegionStatus.SlaveScene) | 381 | if (m_localScene.Region_Status != RegionStatus.SlaveScene) |
382 | { | 382 | { |
383 | if (!(packet is UseCircuitCodePacket)) | ||
384 | return; | ||
383 | UseCircuitCodePacket useCircuit = (UseCircuitCodePacket) packet; | 385 | UseCircuitCodePacket useCircuit = (UseCircuitCodePacket) packet; |
384 | lock (clientCircuits) | 386 | lock (clientCircuits) |
385 | { | 387 | { |