From a1a8b5f4a715f97348da75a2644ff8215e18782f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 14 Nov 2018 13:12:25 +0000 Subject: replace RemoteParcelRequest response encoding ( runprebuild needed) --- OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/CoreModules/World') diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 854c833..ebfc58c 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs @@ -2031,11 +2031,12 @@ namespace OpenSim.Region.CoreModules.World.Land m_log.ErrorFormat("[LAND MANAGEMENT MODULE]: Wrong type in request {0}", request); } - LLSDRemoteParcelResponse response = new LLSDRemoteParcelResponse(); - response.parcel_id = parcelID; //m_log.DebugFormat("[LAND MANAGEMENT MODULE]: Got parcelID {0}", parcelID); - - return LLSDHelpers.SerialiseLLSDReply(response); + StringBuilder sb = LLSDxmlEncode.Start(); + LLSDxmlEncode.AddMap(sb); + LLSDxmlEncode.AddElem("parcel_id", parcelID,sb); + LLSDxmlEncode.AddEndMap(sb); + return LLSDxmlEncode.End(sb); } #endregion -- cgit v1.1