Estate owners who are not administrators, even in god mode, should not be

able to edit a real god's objects. Minor tweak.
This commit is contained in:
Melanie Thielker
2009-04-30 15:38:10 +00:00
parent e901c8be17
commit c7fd036b35

View File

@@ -460,7 +460,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
// return objectEveryoneMask;
// Estate users should be able to edit anything in the sim
if (IsEstateManager(user) && m_RegionOwnerIsGod)
if (IsEstateManager(user) && m_RegionOwnerIsGod && (!IsAdministrator(objectOwner)))
return objectOwnerMask;
// Admin should be able to edit anything in the sim (including admin objects)