adding code to check for old-style responses ("True")

This commit is contained in:
Dr Scofield
2009-05-11 09:58:36 +00:00
parent ecc876bc18
commit 85bbcf196f

View File

@@ -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;
}
}