Merge branch 'master' into careminster-presence-refactor

avinationmerge
Melanie 2010-12-30 02:31:43 +00:00
commit 98769ed040
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ namespace OpenSim.Region.Framework.Scenes
else
{
// If item is transfer or permissions are off or calling agent is allowed to copy item owner's inventory item.
if (((item.CurrentPermissions & (uint)PermissionMask.Transfer) != 0) || m_permissions.BypassPermissions() || m_permissions.CanCopyUserInventory(remoteClient.AgentId, oldItemID))
if (((item.CurrentPermissions & (uint)PermissionMask.Transfer) != 0) && (m_permissions.BypassPermissions() || m_permissions.CanCopyUserInventory(remoteClient.AgentId, oldItemID)))
{
CreateNewInventoryItem(
remoteClient, item.CreatorId, item.CreatorData, newFolderID, newName, item.Flags, callbackID,