Plug a small hole

slimupdates
Melanie 2010-02-14 23:58:54 +00:00
parent 9821c4f566
commit 2c0c21d0a5
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());
return;
}
if ((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0)
return;
}
AssetBase asset = AssetService.Get(item.AssetID.ToString());