diff options
author | Justin Clark-Casey (justincc) | 2010-07-20 21:32:13 +0100 |
---|---|---|
committer | Diva Canto | 2010-07-20 15:07:09 -0700 |
commit | 5182b9fcd28cb79ba7853b839fa010310e22aff0 (patch) | |
tree | d81963eaf00b4f13f78161e043067dadc8ea07fc | |
parent | Allow communicating with blue box dialogs across a region border via a (diff) | |
download | opensim-SC-5182b9fcd28cb79ba7853b839fa010310e22aff0.zip opensim-SC-5182b9fcd28cb79ba7853b839fa010310e22aff0.tar.gz opensim-SC-5182b9fcd28cb79ba7853b839fa010310e22aff0.tar.bz2 opensim-SC-5182b9fcd28cb79ba7853b839fa010310e22aff0.tar.xz |
adjust DialogModule to only send broadcast alerts to root agents
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs index 72fff94..2105f3c 100644 --- a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs | |||
@@ -96,7 +96,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog | |||
96 | { | 96 | { |
97 | m_scene.ForEachScenePresence(delegate(ScenePresence presence) | 97 | m_scene.ForEachScenePresence(delegate(ScenePresence presence) |
98 | { | 98 | { |
99 | presence.ControllingClient.SendAlertMessage(message); | 99 | if (!presence.IsChildAgent) |
100 | presence.ControllingClient.SendAlertMessage(message); | ||
100 | }); | 101 | }); |
101 | } | 102 | } |
102 | 103 | ||
@@ -204,4 +205,4 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog | |||
204 | return result; | 205 | return result; |
205 | } | 206 | } |
206 | } | 207 | } |
207 | } | 208 | } \ No newline at end of file |