From 391edb862e6802a78d5a06a7b7f618d9bf71c732 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 15 Sep 2018 00:44:10 +0100 Subject: [PATCH] stop sending agent update again when destiny refused the agent --- .../Connectors/Simulation/SimulationServiceConnector.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index a4ca2d3ecb..03f6fe644c 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs @@ -273,8 +273,8 @@ namespace OpenSim.Services.Connectors.Simulation OSDMap result = WebUtil.PutToServiceCompressed(uri, args, timeout); if (result["Success"].AsBoolean()) return true; - - result = WebUtil.PutToService(uri, args, timeout); + if(ctx.OutboundVersion < 0.2) + result = WebUtil.PutToService(uri, args, timeout); return result["Success"].AsBoolean(); }