aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index f9a0bdb..0dfcb44 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -238,7 +238,13 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
238 // If there is no master avatar, return false 238 // If there is no master avatar, return false
239 if (m_scene.RegionInfo.MasterAvatarAssignedUUID != LLUUID.Zero) 239 if (m_scene.RegionInfo.MasterAvatarAssignedUUID != LLUUID.Zero)
240 { 240 {
241 return m_scene.RegionInfo.MasterAvatarAssignedUUID == user; 241 if(m_scene.RegionInfo.MasterAvatarAssignedUUID == user)
242 return true;
243 }
244 if (m_scene.RegionInfo.EstateSettings.EstateOwner != LLUUID.Zero)
245 {
246 if(m_scene.RegionInfo.EstateSettings.EstateOwner == user)
247 return true;
242 } 248 }
243 249
244 return false; 250 return false;