aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
diff options
context:
space:
mode:
authorMelanie2011-10-27 18:14:38 +0100
committerMelanie2011-10-27 18:14:38 +0100
commitb975cbcbed71b12898052395fbc83a5880273190 (patch)
treef149288740af5227a865783a51f566bef537721e /OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
parentMerge branch 'master' into bigmerge (diff)
parentRemoved use of 'is' operator and casting to find the root ScenePresence in Me... (diff)
downloadopensim-SC-b975cbcbed71b12898052395fbc83a5880273190.zip
opensim-SC-b975cbcbed71b12898052395fbc83a5880273190.tar.gz
opensim-SC-b975cbcbed71b12898052395fbc83a5880273190.tar.bz2
opensim-SC-b975cbcbed71b12898052395fbc83a5880273190.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
index 35a3f43..b16ca53 100644
--- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs
@@ -306,13 +306,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
306 306
307 if (c.Scene != null) 307 if (c.Scene != null)
308 { 308 {
309 ((Scene)c.Scene).ForEachScenePresence 309 ((Scene)c.Scene).ForEachRootScenePresence
310 ( 310 (
311 delegate(ScenePresence presence) 311 delegate(ScenePresence presence)
312 { 312 {
313 // ignore chat from child agents
314 if (presence.IsChildAgent) return;
315
316 IClientAPI client = presence.ControllingClient; 313 IClientAPI client = presence.ControllingClient;
317 314
318 // don't forward SayOwner chat from objects to 315 // don't forward SayOwner chat from objects to