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
parent 7368992ee9
commit d7fe9f7b44

View File

@@ -4292,6 +4292,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;