aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
index c5c0370..f2b6ae0 100644
--- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs
@@ -796,5 +796,17 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
796 796
797 return (uint)flags; 797 return (uint)flags;
798 } 798 }
799
800 public bool IsManager(LLUUID avatarID)
801 {
802 if (avatarID == m_scene.RegionInfo.MasterAvatarAssignedUUID)
803 return true;
804
805 List<LLUUID> ems = new List<LLUUID>(m_scene.RegionInfo.EstateSettings.EstateManagers);
806 if(ems.Contains(avatarID))
807 return true;
808
809 return false;
810 }
799 } 811 }
800} 812}