adjust DialogModule to only send broadcast alerts to root agents

prebuild-update
Justin Clark-Casey (justincc) 2010-07-20 21:32:13 +01:00
parent 7c124a5543
commit e46c0a0fc9
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;
}
}
}
}