mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user