mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
again chat echos, check repeats uncondicionally
This commit is contained in:
@@ -294,9 +294,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
|
||||
s.ForEachScenePresence(
|
||||
delegate(ScenePresence presence)
|
||||
{
|
||||
if (destination != UUID.Zero &&
|
||||
(presence.UUID != destination || receiverIDs.Contains(presence.UUID)))
|
||||
if (receiverIDs.Contains(presence.UUID))
|
||||
return; // already sent to this presence
|
||||
|
||||
if (destination != UUID.Zero && presence.UUID != destination)
|
||||
return;
|
||||
|
||||
ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y);
|
||||
if (Presencecheck != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user