replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module

This commit is contained in:
UbitUmarov
2017-01-22 23:05:39 +00:00
parent df035a4022
commit c673ef7e3c
4 changed files with 5 additions and 5 deletions

View File

@@ -159,7 +159,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments
if (target.UUID != hostgroup.OwnerID)
{
uint effectivePerms = hostgroup.GetEffectivePermissions();
uint effectivePerms = hostgroup.EffectiveOwnerPerms;
if ((effectivePerms & (uint)PermissionMask.Transfer) == 0)
return 0;