diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index fcf571d..108c9a0 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -149,6 +149,9 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
149 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); | 149 | InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); |
150 | item = m_Scene.InventoryService.GetItem(item); | 150 | item = m_Scene.InventoryService.GetItem(item); |
151 | 151 | ||
152 | if (item.Owner != remoteClient.AgentId) | ||
153 | return UUID.Zero; | ||
154 | |||
152 | if (item != null) | 155 | if (item != null) |
153 | { | 156 | { |
154 | if ((InventoryType)item.InvType == InventoryType.Notecard) | 157 | if ((InventoryType)item.InvType == InventoryType.Notecard) |