adjust DialogModule to only send broadcast alerts to root agents

0.7-release
Justin Clark-Casey (justincc) 2010-07-20 21:32:13 +01:00 committed by Diva Canto
parent 8c631cfaa3
commit 5182b9fcd2
1 changed files with 3 additions and 2 deletions

View File

@ -96,6 +96,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
{ {
m_scene.ForEachScenePresence(delegate(ScenePresence presence) m_scene.ForEachScenePresence(delegate(ScenePresence presence)
{ {
if (!presence.IsChildAgent)
presence.ControllingClient.SendAlertMessage(message); presence.ControllingClient.SendAlertMessage(message);
}); });
} }