diff options
author | Melanie Thielker | 2010-08-06 00:02:38 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-08-06 00:02:38 +0200 |
commit | d7fe9f7b44311df517a8755dd6cf5603b380c3b8 (patch) | |
tree | b2d1157d71b0635f136f9080d0d69ce2f1543736 /OpenSim/Region | |
parent | Actually cache positives (diff) | |
download | opensim-SC-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.zip opensim-SC-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.tar.gz opensim-SC-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.tar.bz2 opensim-SC-d7fe9f7b44311df517a8755dd6cf5603b380c3b8.tar.xz |
Prevent users from becoming stuck online. This affects only 0.7
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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; |