From 85bbcf196f208e614922d265615d43713d599351 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Mon, 11 May 2009 09:58:36 +0000 Subject: adding code to check for old-style responses ("True") --- OpenSim/Framework/Communications/Clients/RegionClient.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenSim/Framework/Communications/Clients/RegionClient.cs b/OpenSim/Framework/Communications/Clients/RegionClient.cs index bd71357..fb1dc19 100644 --- a/OpenSim/Framework/Communications/Clients/RegionClient.cs +++ b/OpenSim/Framework/Communications/Clients/RegionClient.cs @@ -135,6 +135,11 @@ namespace OpenSim.Framework.Communications.Clients catch (NullReferenceException e) { m_log.InfoFormat("[REST COMMS]: exception on reply of DoCreateChildAgentCall {0}", e.Message); + + // check for old style response + if (response.ToLower().StartsWith("true")) + return true; + return false; } } -- cgit v1.1