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.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 98604f2..a92abbf 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -322,7 +322,7 @@ namespace OpenSim.Framework
322 l_EstateManagers.Remove(avatarID); 322 l_EstateManagers.Remove(avatarID);
323 } 323 }
324 324
325 public bool IsEstateManager(UUID avatarID) 325 public bool IsEstateManagerOrOwner(UUID avatarID)
326 { 326 {
327 if (IsEstateOwner(avatarID)) 327 if (IsEstateOwner(avatarID))
328 return true; 328 return true;
@@ -368,7 +368,7 @@ namespace OpenSim.Framework
368 368
369 public bool HasAccess(UUID user) 369 public bool HasAccess(UUID user)
370 { 370 {
371 if (IsEstateManager(user)) 371 if (IsEstateManagerOrOwner(user))
372 return true; 372 return true;
373 373
374 return l_EstateAccess.Contains(user); 374 return l_EstateAccess.Contains(user);