aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/EstateSettings.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/EstateSettings.cs')
-rw-r--r--OpenSim/Framework/EstateSettings.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 8a00f9d..8b076fe 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -312,9 +312,20 @@ namespace OpenSim.Framework
312 312
313 public bool IsEstateManager(LLUUID avatarID) 313 public bool IsEstateManager(LLUUID avatarID)
314 { 314 {
315 if (IsEstateOwner(avatarID))
316 return true;
317
315 return l_EstateManagers.Contains(avatarID); 318 return l_EstateManagers.Contains(avatarID);
316 } 319 }
317 320
321 public bool IsEstateOwner(LLUUID avatarID)
322 {
323 if (avatarID == m_EstateOwner)
324 return true;
325
326 return false;
327 }
328
318 public bool IsBanned(LLUUID avatarID) 329 public bool IsBanned(LLUUID avatarID)
319 { 330 {
320 foreach (EstateBan ban in l_EstateBans) 331 foreach (EstateBan ban in l_EstateBans)