Prevent users from becoming stuck online. This affects only 0.7

This commit is contained in:
Melanie Thielker
2010-08-06 00:02:38 +02:00
committed by Melanie
parent 1cae505ea1
commit db2f63706d

View File

@@ -3955,6 +3955,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
if (pinfos != null && pinfos.Length > 0)
pinfo = pinfos[0];
else
pinfo = null;
ce.time = Util.EnvironmentTickCount();
ce.pinfo = pinfo;