dont tell clients that we can edit a friend's attachments when we do forbid it

avinationmerge
UbitUmarov 2015-10-27 01:20:21 +00:00
parent 9e6d9e0436
commit 114ac59314
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
if (user == objectOwner)
return PermissionClass.Owner;
if (IsFriendWithPerms(user, objectOwner))
if (IsFriendWithPerms(user, objectOwner) && !obj.ParentGroup.IsAttachment)
return PermissionClass.Owner;
// Estate users should be able to edit anything in the sim if RegionOwnerIsGod is set