diff options
author | UbitUmarov | 2015-11-20 00:01:13 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-20 00:01:13 +0000 |
commit | 278687b1e8bed66e205497ebdef839280dfa5cd2 (patch) | |
tree | 9c57a67637d8da11bc03995c0f072f7d424bb791 /OpenSim/Region/CoreModules/Scripting | |
parent | clean code a bit (diff) | |
download | opensim-SC_OLD-278687b1e8bed66e205497ebdef839280dfa5cd2.zip opensim-SC_OLD-278687b1e8bed66e205497ebdef839280dfa5cd2.tar.gz opensim-SC_OLD-278687b1e8bed66e205497ebdef839280dfa5cd2.tar.bz2 opensim-SC_OLD-278687b1e8bed66e205497ebdef839280dfa5cd2.tar.xz |
remove duplicate object chat messages ( mantis 7745 ),fix llRegionSay, this are still merge issues
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs index 1a53a8b..9282897 100644 --- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | |||
@@ -311,6 +311,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm | |||
311 | // Determine which listen event filters match the given set of arguments, this results | 311 | // Determine which listen event filters match the given set of arguments, this results |
312 | // in a limited set of listeners, each belonging a host. If the host is in range, add them | 312 | // in a limited set of listeners, each belonging a host. If the host is in range, add them |
313 | // to the pending queue. | 313 | // to the pending queue. |
314 | |||
314 | foreach (ListenerInfo li | 315 | foreach (ListenerInfo li |
315 | in m_listenerManager.GetListeners(UUID.Zero, channel, | 316 | in m_listenerManager.GetListeners(UUID.Zero, channel, |
316 | name, id, msg)) | 317 | name, id, msg)) |
@@ -386,6 +387,10 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm | |||
386 | return true; | 387 | return true; |
387 | } | 388 | } |
388 | 389 | ||
390 | // for now messages to prims don't cross regions | ||
391 | if(sp.IsChildAgent) | ||
392 | return false; | ||
393 | |||
389 | List<SceneObjectGroup> attachments = sp.GetAttachments(); | 394 | List<SceneObjectGroup> attachments = sp.GetAttachments(); |
390 | 395 | ||
391 | if (attachments.Count == 0) | 396 | if (attachments.Count == 0) |