Cause the slam bit to be set in transferred inv items

0.6.1-post-fixes
Melanie Thielker 2008-11-27 03:54:43 +00:00
parent 6b7ba29986
commit d9c05a6def
1 changed files with 1 additions and 0 deletions

View File

@ -784,6 +784,7 @@ namespace OpenSim.Region.Environment.Scenes
item.CurrentPermissions &= ~(uint)PermissionMask.Transfer; item.CurrentPermissions &= ~(uint)PermissionMask.Transfer;
if ((item.CurrentPermissions & ((uint)PermissionMask.Modify >> 13)) == 0) if ((item.CurrentPermissions & ((uint)PermissionMask.Modify >> 13)) == 0)
item.CurrentPermissions &= ~(uint)PermissionMask.Modify; item.CurrentPermissions &= ~(uint)PermissionMask.Modify;
item.CurrentPermissions |= 8;
} }
item.CurrentPermissions &= item.NextPermissions; item.CurrentPermissions &= item.NextPermissions;
item.BasePermissions &= item.NextPermissions; item.BasePermissions &= item.NextPermissions;