diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Chat')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index bc42fd1..dbbb0ae 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -351,9 +351,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
351 | UUID fromAgentID, string fromName, ChatTypeEnum type, | 351 | UUID fromAgentID, string fromName, ChatTypeEnum type, |
352 | string message, ChatSourceType src) | 352 | string message, ChatSourceType src) |
353 | { | 353 | { |
354 | // don't send llRegionSay to child agents. Send normal chat because you | 354 | // don't send chat to child agents |
355 | // can't talk across sim borders if it's not done | 355 | if (presence.IsChildAgent) return false; |
356 | if (type == ChatTypeEnum.Broadcast && presence.IsChildAgent) return false; | ||
357 | 356 | ||
358 | Vector3 fromRegionPos = fromPos + regionPos; | 357 | Vector3 fromRegionPos = fromPos + regionPos; |
359 | Vector3 toRegionPos = presence.AbsolutePosition + | 358 | Vector3 toRegionPos = presence.AbsolutePosition + |