aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-20 21:32:13 +0100
committerDiva Canto2010-07-20 15:07:09 -0700
commit5182b9fcd28cb79ba7853b839fa010310e22aff0 (patch)
treed81963eaf00b4f13f78161e043067dadc8ea07fc /OpenSim/Region
parentAllow communicating with blue box dialogs across a region border via a (diff)
downloadopensim-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 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs5
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