aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-02-14 23:58:54 +0000
committerMelanie2010-02-15 00:06:03 +0000
commitce3e2655752fb56d9f18bf7cc0686e97c06f16da (patch)
treeafa9a52d52f0e3786ba6d575b7ad6b1d4f3a00e6 /OpenSim
parentMerge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into ... (diff)
downloadopensim-SC_OLD-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.zip
opensim-SC_OLD-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.tar.gz
opensim-SC_OLD-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.tar.bz2
opensim-SC_OLD-ce3e2655752fb56d9f18bf7cc0686e97c06f16da.tar.xz
Plug a small hole
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs3
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());