diff options
author | Melanie | 2010-02-14 23:58:54 +0000 |
---|---|---|
committer | Melanie | 2010-02-15 00:06:03 +0000 |
commit | ce3e2655752fb56d9f18bf7cc0686e97c06f16da (patch) | |
tree | afa9a52d52f0e3786ba6d575b7ad6b1d4f3a00e6 /OpenSim/Region | |
parent | Merge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into ... (diff) | |
download | opensim-SC-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.zip opensim-SC-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.tar.gz opensim-SC-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.tar.bz2 opensim-SC-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.tar.xz |
Plug a small hole
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 7b852a2..b2b061e 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -585,6 +585,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
585 | m_log.Error("[AGENT INVENTORY]: Failed to find item " + oldItemID.ToString()); | 585 | m_log.Error("[AGENT INVENTORY]: Failed to find item " + oldItemID.ToString()); |
586 | return; | 586 | return; |
587 | } | 587 | } |
588 | |||
589 | if ((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0) | ||
590 | return; | ||
588 | } | 591 | } |
589 | 592 | ||
590 | AssetBase asset = AssetService.Get(item.AssetID.ToString()); | 593 | AssetBase asset = AssetService.Get(item.AssetID.ToString()); |