mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Cause the inventory give module to be more selective and not attempt to
deliver other modules' IM types
This commit is contained in:
@@ -392,6 +392,14 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
|
||||
/// <param name="msg"></param>
|
||||
private void OnGridInstantMessage(GridInstantMessage msg)
|
||||
{
|
||||
// Check if this is ours to handle
|
||||
//
|
||||
if (msg.dialog != (byte) InstantMessageDialog.InventoryOffered)
|
||||
return;
|
||||
|
||||
if (msg.binaryBucket.Length < 17) // Invalid
|
||||
return;
|
||||
|
||||
Scene scene = FindClientScene(new UUID(msg.toAgentID));
|
||||
|
||||
// Find agent to deliver to
|
||||
|
||||
Reference in New Issue
Block a user