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

0.6.5-rc1
Dr Scofield 2009-05-11 09:58:36 +00:00
parent ecc876bc18
commit 85bbcf196f
1 changed files with 5 additions and 0 deletions

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