(HG)MessageTransferModule: add trivial toAgentID == UUID.Zero check again

This commit is contained in:
UbitUmarov
2021-12-30 20:43:50 +00:00
parent 321d45882b
commit f15ebe9822
2 changed files with 4 additions and 0 deletions

View File

@@ -140,6 +140,8 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
public virtual void SendInstantMessage(GridInstantMessage im, MessageResultNotification result)
{
UUID toAgentID = new UUID(im.toAgentID);
if (toAgentID == UUID.Zero)
return;
ScenePresence achildsp = null;
// Try root avatar first