aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorMelanie2011-02-27 18:55:17 +0100
committerMelanie2011-02-27 19:49:23 +0000
commitcea47491de6723230a49b1ac99cecc5c32758f40 (patch)
treebf45392addd6a640b970ebde934b0def3b515a97 /OpenSim/Region/CoreModules
parentchange some log messages from info to debug (diff)
downloadopensim-SC_OLD-cea47491de6723230a49b1ac99cecc5c32758f40.zip
opensim-SC_OLD-cea47491de6723230a49b1ac99cecc5c32758f40.tar.gz
opensim-SC_OLD-cea47491de6723230a49b1ac99cecc5c32758f40.tar.bz2
opensim-SC_OLD-cea47491de6723230a49b1ac99cecc5c32758f40.tar.xz
Fix a few little things
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs3
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 bd316c6..798547a 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -148,6 +148,9 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
148 InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId); 148 InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId);
149 item = m_Scene.InventoryService.GetItem(item); 149 item = m_Scene.InventoryService.GetItem(item);
150 150
151 if (item.Owner != remoteClient.AgentId)
152 return UUID.Zero;
153
151 if (item != null) 154 if (item != null)
152 { 155 {
153 if ((InventoryType)item.InvType == InventoryType.Notecard) 156 if ((InventoryType)item.InvType == InventoryType.Notecard)