Plug a small hole

avinationmerge
Melanie 2010-02-14 23:58:54 +00:00
parent b2fefe3e3f
commit ce3e265575
1 changed files with 3 additions and 0 deletions

View File

@ -585,6 +585,9 @@ namespace OpenSim.Region.Framework.Scenes
m_log.Error("[AGENT INVENTORY]: Failed to find item " + oldItemID.ToString()); m_log.Error("[AGENT INVENTORY]: Failed to find item " + oldItemID.ToString());
return; return;
} }
if ((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0)
return;
} }
AssetBase asset = AssetService.Get(item.AssetID.ToString()); AssetBase asset = AssetService.Get(item.AssetID.ToString());