diff options
author | Justin Clark-Casey (justincc) | 2010-07-20 21:32:13 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-20 21:32:13 +0100 |
commit | e46c0a0fc9c5053bf242e3b5a957cf00c7c792e8 (patch) | |
tree | 753c87c14dfc7f48d5dbafe391253a91604f53d2 /OpenSim | |
parent | Relaxed the ultra-conservative lock on m_items. Needs testing under linux and... (diff) | |
download | opensim-SC-e46c0a0fc9c5053bf242e3b5a957cf00c7c792e8.zip opensim-SC-e46c0a0fc9c5053bf242e3b5a957cf00c7c792e8.tar.gz opensim-SC-e46c0a0fc9c5053bf242e3b5a957cf00c7c792e8.tar.bz2 opensim-SC-e46c0a0fc9c5053bf242e3b5a957cf00c7c792e8.tar.xz |
adjust DialogModule to only send broadcast alerts to root agents
Diffstat (limited to 'OpenSim')
-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 |