aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs
index 07cba60..3e62c1a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs
@@ -121,7 +121,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
121 LSL_List result = new LSL_List(); 121 LSL_List result = new LSL_List();
122 World.ForEachScenePresence(delegate (ScenePresence avatar) 122 World.ForEachScenePresence(delegate (ScenePresence avatar)
123 { 123 {
124 if (avatar.UUID != m_host.OwnerID) 124 if (avatar != null && avatar.UUID != m_host.OwnerID)
125 { 125 {
126 if (avatar.IsChildAgent == false) 126 if (avatar.IsChildAgent == false)
127 { 127 {