aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-06 00:02:38 +0200
committerMelanie2010-08-05 23:49:07 +0100
commitdb2f63706da16ca97c737469f6f6b06478ef1f26 (patch)
tree3d9e115e50a750e64e75051494555beae711a644 /OpenSim
parentPrevent hammering the grid services with llRequestAgentData requests. Cache the (diff)
downloadopensim-SC_OLD-db2f63706da16ca97c737469f6f6b06478ef1f26.zip
opensim-SC_OLD-db2f63706da16ca97c737469f6f6b06478ef1f26.tar.gz
opensim-SC_OLD-db2f63706da16ca97c737469f6f6b06478ef1f26.tar.bz2
opensim-SC_OLD-db2f63706da16ca97c737469f6f6b06478ef1f26.tar.xz
Prevent users from becoming stuck online. This affects only 0.7
Diffstat (limited to 'OpenSim')
-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 d5ad5b6..f26fc2e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3955,6 +3955,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3955 PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() }); 3955 PresenceInfo[] pinfos = World.PresenceService.GetAgents(new string[] { uuid.ToString() });
3956 if (pinfos != null && pinfos.Length > 0) 3956 if (pinfos != null && pinfos.Length > 0)
3957 pinfo = pinfos[0]; 3957 pinfo = pinfos[0];
3958 else
3959 pinfo = null;
3958 3960
3959 ce.time = Util.EnvironmentTickCount(); 3961 ce.time = Util.EnvironmentTickCount();
3960 ce.pinfo = pinfo; 3962 ce.pinfo = pinfo;