Prevent users from becoming stuck online. This affects only 0.7
parent
1cae505ea1
commit
db2f63706d
|
@ -3955,6 +3955,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
|
PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
|
||||||
if (pinfos != null && pinfos.Length > 0)
|
if (pinfos != null && pinfos.Length > 0)
|
||||||
pinfo = pinfos[0];
|
pinfo = pinfos[0];
|
||||||
|
else
|
||||||
|
pinfo = null;
|
||||||
|
|
||||||
ce.time = Util.EnvironmentTickCount();
|
ce.time = Util.EnvironmentTickCount();
|
||||||
ce.pinfo = pinfo;
|
ce.pinfo = pinfo;
|
||||||
|
|
Loading…
Reference in New Issue