Small permissions tweak

prioritization
Melanie 2009-10-03 14:22:29 +01:00
parent 36c8d55827
commit b4d1cf0009
1 changed files with 4 additions and 1 deletions

View File

@ -576,9 +576,12 @@ namespace OpenSim.Region.CoreModules.World.Permissions
return objectOwnerMask;
}
if ((objectOwnerMask & PermissionMask.Transfer != 0) && task.saleType != 0)
objectEveryoneMask |= ObjectFlags.ObjectTransfer;
// Group permissions
if ((task.GroupID != UUID.Zero) && IsGroupMember(task.GroupID, user, 0))
return objectGroupMask;
return objectGroupMask | objectEveryoneMask;
return objectEveryoneMask;
}