diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 22b7c00a0d..2b242fc951 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -3142,7 +3142,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// + /// Send an alert messages to all avatars in this scene. /// /// public void SendGeneralAlert(string message) @@ -3151,12 +3151,13 @@ namespace OpenSim.Region.Environment.Scenes foreach (ScenePresence presence in presenceList) { - presence.ControllingClient.SendAlertMessage(message); + if (!presence.IsChildAgent) + presence.ControllingClient.SendAlertMessage(message); } } /// - /// + /// Send an alert message to a particular agent. /// /// /// @@ -3347,7 +3348,8 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// + /// Handle an alert command from the console. + /// FIXME: Command parsing code really shouldn't be in this core Scene class. /// /// public void HandleAlertCommand(string[] commandParams)