mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
This commit is contained in:
committed by
Diva Canto
parent
50b599a62b
commit
7f4d646aea
@@ -3817,7 +3817,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
case 1: // DATA_ONLINE (0|1)
|
||||
// TODO: implement fetching of this information
|
||||
if (userProfile.CurrentAgent.AgentOnline)
|
||||
if (userProfile.CurrentAgent!=null && userProfile.CurrentAgent.AgentOnline)
|
||||
reply = "1";
|
||||
else
|
||||
reply = "0";
|
||||
|
||||
@@ -108,7 +108,11 @@ namespace OpenSim.Services.Connectors
|
||||
message="";
|
||||
return m_ResponseOnFailure;
|
||||
}
|
||||
|
||||
if (response==null)
|
||||
{
|
||||
message = "Null Pointer";
|
||||
return m_ResponseOnFailure;
|
||||
}
|
||||
m_log.DebugFormat("[AUTHORIZATION CONNECTOR] response from remote service was {0}", response.Message);
|
||||
message = response.Message;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user