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

able to edit a real god's objects. Minor tweak.
0.6.5-rc1
Melanie Thielker 2009-04-30 15:38:10 +00:00
parent e901c8be17
commit c7fd036b35
1 changed files with 1 additions and 1 deletions

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)