diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 9497043..873662e 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -4130,15 +4130,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
4130 | return m_sceneGraph.GetScenePresence(avatarID); | 4130 | return m_sceneGraph.GetScenePresence(avatarID); |
4131 | } | 4131 | } |
4132 | 4132 | ||
4133 | /// <summary> | ||
4134 | /// Request an Avatar's Child Status - used by ClientView when a 'kick everyone' or 'estate message' occurs | ||
4135 | /// </summary> | ||
4136 | /// <param name="avatarID">AvatarID to lookup</param> | ||
4137 | /// <returns></returns> | ||
4138 | public override bool PresenceChildStatus(UUID avatarID) | 4133 | public override bool PresenceChildStatus(UUID avatarID) |
4139 | { | 4134 | { |
4140 | ScenePresence cp = GetScenePresence(avatarID); | 4135 | ScenePresence cp = GetScenePresence(avatarID); |
4141 | return cp.IsChildAgent; | 4136 | |
4137 | if (cp != null) | ||
4138 | return cp.IsChildAgent; | ||
4139 | |||
4140 | return false; | ||
4142 | } | 4141 | } |
4143 | 4142 | ||
4144 | /// <summary> | 4143 | /// <summary> |