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,7 +96,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
{
m_scene.ForEachScenePresence(delegate(ScenePresence presence)
{
presence.ControllingClient.SendAlertMessage(message);
if (!presence.IsChildAgent)
presence.ControllingClient.SendAlertMessage(message);
});
}
@ -204,4 +205,4 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
return result;
}
}
}
}