aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
index 8b34c28..d112a90 100644
--- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
@@ -180,12 +180,6 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
180 if (!m_Scene.Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) 180 if (!m_Scene.Permissions.CanCreateUserInventory(invType, remoteClient.AgentId))
181 return; 181 return;
182 182
183 InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId);
184 InventoryFolderBase folder = m_Scene.InventoryService.GetFolder(f);
185
186 if (folder == null || folder.Owner != remoteClient.AgentId)
187 return;
188
189 if (transactionID == UUID.Zero) 183 if (transactionID == UUID.Zero)
190 { 184 {
191 ScenePresence presence; 185 ScenePresence presence;