diff options
author | Melanie | 2010-02-14 23:58:54 +0000 |
---|---|---|
committer | Melanie | 2010-02-14 23:58:54 +0000 |
commit | 2c0c21d0a5fd89120d8be47cd959acd96b286fe3 (patch) | |
tree | c2db232a1b6ea40a2e8db7b1a42964133a1a1129 | |
parent | Revolution is on the roll again! :) (diff) | |
download | opensim-SC_OLD-2c0c21d0a5fd89120d8be47cd959acd96b286fe3.zip opensim-SC_OLD-2c0c21d0a5fd89120d8be47cd959acd96b286fe3.tar.gz opensim-SC_OLD-2c0c21d0a5fd89120d8be47cd959acd96b286fe3.tar.bz2 opensim-SC_OLD-2c0c21d0a5fd89120d8be47cd959acd96b286fe3.tar.xz |
Plug a small hole
Diffstat (limited to '')
-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 7df3e50..c6cee75 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()); |