diff options
Diffstat (limited to 'OpenSim/Region')
-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 d3a1447..1bf6b87 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -832,6 +832,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
832 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) | 832 | if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) |
833 | return; | 833 | return; |
834 | 834 | ||
835 | InventoryFolderBase f = new InventoryFolderBase(folderID, remoteClient.AgentId); | ||
836 | InventoryFolderBase folder = InventoryService.GetFolder(f); | ||
837 | |||
838 | if (folder == null || folder.Owner != remoteClient.AgentId) | ||
839 | return; | ||
840 | |||
835 | if (transactionID == UUID.Zero) | 841 | if (transactionID == UUID.Zero) |
836 | { | 842 | { |
837 | ScenePresence presence; | 843 | ScenePresence presence; |