mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
adjust DialogModule to only send broadcast alerts to root agents
This commit is contained in:
committed by
Diva Canto
parent
8c631cfaa3
commit
5182b9fcd2
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user