diff options
author | UbitUmarov | 2015-11-24 15:12:39 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-24 15:12:39 +0000 |
commit | a0c3297b37d2aa7c9c778e667380fbe31f41a243 (patch) | |
tree | 9e709aaf2ef5889e3211e22b460c24eff2240085 | |
parent | reset control even prior to use (diff) | |
download | opensim-SC_OLD-a0c3297b37d2aa7c9c778e667380fbe31f41a243.zip opensim-SC_OLD-a0c3297b37d2aa7c9c778e667380fbe31f41a243.tar.gz opensim-SC_OLD-a0c3297b37d2aa7c9c778e667380fbe31f41a243.tar.bz2 opensim-SC_OLD-a0c3297b37d2aa7c9c778e667380fbe31f41a243.tar.xz |
again chat echos, check repeats uncondicionally
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index ff2527e..3b56ca6 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -294,9 +294,12 @@ 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 && | 297 | if (receiverIDs.Contains(presence.UUID)) |
298 | (presence.UUID != destination || receiverIDs.Contains(presence.UUID))) | 298 | return; // already sent to this presence |
299 | |||
300 | if (destination != UUID.Zero && presence.UUID != destination) | ||
299 | return; | 301 | return; |
302 | |||
300 | ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y); | 303 | ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y); |
301 | if (Presencecheck != null) | 304 | if (Presencecheck != null) |
302 | { | 305 | { |