aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 32282af..f5c0b05 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -1316,9 +1316,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1316 1316
1317 AgentUpdatePacket agentUpdate = (AgentUpdatePacket)packet; 1317 AgentUpdatePacket agentUpdate = (AgentUpdatePacket)packet;
1318 1318
1319 LLClientView llClient = client as LLClientView;
1319 if (agentUpdate.AgentData.SessionID != client.SessionId 1320 if (agentUpdate.AgentData.SessionID != client.SessionId
1320 || agentUpdate.AgentData.AgentID != client.AgentId 1321 || agentUpdate.AgentData.AgentID != client.AgentId
1321 || !((LLClientView)client).CheckAgentUpdateSignificance(agentUpdate.AgentData)) 1322 || !(llClient == null || llClient.CheckAgentUpdateSignificance(agentUpdate.AgentData)) )
1322 { 1323 {
1323 PacketPool.Instance.ReturnPacket(packet); 1324 PacketPool.Instance.ReturnPacket(packet);
1324 return; 1325 return;