aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs7
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 {