diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 2d1a3ef..8e4e307 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -556,6 +556,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
556 | { | 556 | { |
557 | //Console.WriteLine("Scene.Inventory.cs: GiveInventoryItem"); | 557 | //Console.WriteLine("Scene.Inventory.cs: GiveInventoryItem"); |
558 | 558 | ||
559 | if (!Permissions.CanTransferUserInventory(itemId, senderId, recipient)) | ||
560 | return null; | ||
561 | |||
559 | InventoryItemBase item = new InventoryItemBase(itemId, senderId); | 562 | InventoryItemBase item = new InventoryItemBase(itemId, senderId); |
560 | item = InventoryService.GetItem(item); | 563 | item = InventoryService.GetItem(item); |
561 | 564 | ||