mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
another recent bug fix: llister id can also be a invalid key
This commit is contained in:
@@ -1268,8 +1268,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_Integer llListen(int channelID, string name, string ID, string msg)
|
||||
{
|
||||
IWorldComm wComm = m_ScriptEngine.World.RequestModuleInterface<IWorldComm>();
|
||||
if (wComm is not null && UUID.TryParse(ID, out UUID keyID))
|
||||
if (wComm is not null)
|
||||
{
|
||||
_ = UUID.TryParse(ID, out UUID keyID);
|
||||
return wComm.Listen(m_item.ItemID, m_host.UUID, channelID, name, keyID, msg);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user