diff options
author | UbitUmarov | 2015-11-24 12:51:58 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-24 12:51:58 +0000 |
commit | 7cf2d261b3063960d6a17cd43494712144972033 (patch) | |
tree | fe873ad181594543294d58b9b050b40eda7b4380 /OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |
parent | try not to use Process.HasExit that is broken in some mono versions (diff) | |
download | opensim-SC_OLD-7cf2d261b3063960d6a17cd43494712144972033.zip opensim-SC_OLD-7cf2d261b3063960d6a17cd43494712144972033.tar.gz opensim-SC_OLD-7cf2d261b3063960d6a17cd43494712144972033.tar.bz2 opensim-SC_OLD-7cf2d261b3063960d6a17cd43494712144972033.tar.xz |
reduce 'echos' on several regions per instance (mantis 7754)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index fd6202a..ff2527e 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -294,7 +294,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
294 | s.ForEachScenePresence( | 294 | s.ForEachScenePresence( |
295 | delegate(ScenePresence presence) | 295 | delegate(ScenePresence presence) |
296 | { | 296 | { |
297 | if (destination != UUID.Zero && presence.UUID != destination) | 297 | if (destination != UUID.Zero && |
298 | (presence.UUID != destination || receiverIDs.Contains(presence.UUID))) | ||
298 | return; | 299 | return; |
299 | ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y); | 300 | ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y); |
300 | if (Presencecheck != null) | 301 | if (Presencecheck != null) |