Make the estate owner UUID from the database have the same rights
as the region master avatar, unless it's LLUUID.Zero (the default).0.6.0-stable
parent
fa9afd4c91
commit
71cc458610
|
@ -238,7 +238,13 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
|
|||
// If there is no master avatar, return false
|
||||
if (m_scene.RegionInfo.MasterAvatarAssignedUUID != LLUUID.Zero)
|
||||
{
|
||||
return m_scene.RegionInfo.MasterAvatarAssignedUUID == user;
|
||||
if(m_scene.RegionInfo.MasterAvatarAssignedUUID == user)
|
||||
return true;
|
||||
}
|
||||
if (m_scene.RegionInfo.EstateSettings.EstateOwner != LLUUID.Zero)
|
||||
{
|
||||
if(m_scene.RegionInfo.EstateSettings.EstateOwner == user)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue