mantis 8753; apply patch by hand

This commit is contained in:
UbitUmarov
2020-08-23 00:13:33 +01:00
parent 16ab72a223
commit 2575bfc04c
2 changed files with 7 additions and 2 deletions

View File

@@ -174,7 +174,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure
if (m_TransferModule != null)
m_TransferModule.SendInstantMessage(im, delegate(bool success) { });
}
else if (im.dialog == (byte)InstantMessageDialog.RequestLure)
{
if (m_TransferModule != null)
m_TransferModule.SendInstantMessage(im, delegate (bool success) { });
}
}
public void OnStartLure(byte lureType, string message, UUID targetid, IClientAPI client)

View File

@@ -226,7 +226,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure
// Forward remote teleport requests
//
if (msg.dialog != (byte)InstantMessageDialog.RequestTeleport &&
msg.dialog != (byte)InstantMessageDialog.GodLikeRequestTeleport)
msg.dialog != (byte)InstantMessageDialog.GodLikeRequestTeleport &&
msg.dialog != (byte)InstantMessageDialog.RequestLure)
return;
if (m_TransferModule != null)