mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
adding code to check for old-style responses ("True")
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user