mantis 7391: deliver llregionSayTo to all scripts on prim that match target specs

0.9.1.0-post-fixes
UbitUmarov 2018-10-18 14:42:07 +01:00
parent 235dd37b9c
commit 96acb48334
1 changed files with 3 additions and 6 deletions

View File

@ -442,15 +442,12 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
// Dont process if this message is from yourself!
if (liHostID.Equals(id))
continue;
if (!liHostID.Equals(target))
continue;
if (m_scene.GetSceneObjectPart(liHostID) == null)
continue;
if (liHostID.Equals(target))
{
QueueMessage(new ListenerInfo(li, name, id, msg));
break;
}
}
}