aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-06 00:02:38 +0200
committerMelanie Thielker2010-08-06 00:02:38 +0200
commitd7fe9f7b44311df517a8755dd6cf5603b380c3b8 (patch)
treeb2d1157d71b0635f136f9080d0d69ce2f1543736 /OpenSim/Region
parentActually cache positives (diff)
downloadopensim-SC_OLD-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.zip
opensim-SC_OLD-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.tar.gz
opensim-SC_OLD-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.tar.bz2
opensim-SC_OLD-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.tar.xz
Prevent users from becoming stuck online. This affects only 0.7
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 0f38261..236458c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4292,6 +4292,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4292 PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() }); 4292 PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
4293 if (pinfos != null && pinfos.Length > 0) 4293 if (pinfos != null && pinfos.Length > 0)
4294 pinfo = pinfos[0]; 4294 pinfo = pinfos[0];
4295 else
4296 pinfo = null;
4295 4297
4296 ce.time = Util.EnvironmentTickCount(); 4298 ce.time = Util.EnvironmentTickCount();
4297 ce.pinfo = pinfo; 4299 ce.pinfo = pinfo;