mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +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";
|
||||
|
||||
Reference in New Issue
Block a user