diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs index a5203ea..99e50ac 100644 --- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | |||
@@ -442,15 +442,12 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm | |||
442 | // Dont process if this message is from yourself! | 442 | // Dont process if this message is from yourself! |
443 | if (liHostID.Equals(id)) | 443 | if (liHostID.Equals(id)) |
444 | continue; | 444 | continue; |
445 | 445 | if (!liHostID.Equals(target)) | |
446 | continue; | ||
446 | if (m_scene.GetSceneObjectPart(liHostID) == null) | 447 | if (m_scene.GetSceneObjectPart(liHostID) == null) |
447 | continue; | 448 | continue; |
448 | 449 | ||
449 | if (liHostID.Equals(target)) | 450 | QueueMessage(new ListenerInfo(li, name, id, msg)); |
450 | { | ||
451 | QueueMessage(new ListenerInfo(li, name, id, msg)); | ||
452 | break; | ||
453 | } | ||
454 | } | 451 | } |
455 | } | 452 | } |
456 | 453 | ||