From d43d3df724b62d0bf2765f25794e83dacd6c60c1 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 14 Sep 2014 20:46:22 +0200 Subject: [PATCH] Reinstate closing the client if CloseAgen returns false. This was part of the last Ubit patch. --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index d811b644f6..3539100eae 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -2063,7 +2063,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP client.Kick("Simulator logged you out due to connection timeout."); } - m_scene.CloseAgent(client.AgentId, true); + if (!m_scene.CloseAgent(client.AgentId, true)) + client.Close(true,true); } private void IncomingPacketHandler()