diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 18cfcbc..9a33993 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -834,6 +834,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
834 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) | 834 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) |
835 | return; | 835 | return; |
836 | 836 | ||
837 | InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId); | ||
838 | InventoryFolderBase folder = InventoryService.GetFolder(f); | ||
839 | |||
840 | if (folder == null || folder.Owner != remoteClient.AgentId) | ||
841 | return; | ||
842 | |||
837 | if (transactionID == UUID.Zero) | 843 | if (transactionID == UUID.Zero) |
838 | { | 844 | { |
839 | ScenePresence presence; | 845 | ScenePresence presence; |