aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/PermissionManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/PermissionManager.cs')
-rw-r--r--OpenSim/Region/Environment/PermissionManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/PermissionManager.cs b/OpenSim/Region/Environment/PermissionManager.cs
index ec035f0..fc9e58d 100644
--- a/OpenSim/Region/Environment/PermissionManager.cs
+++ b/OpenSim/Region/Environment/PermissionManager.cs
@@ -20,12 +20,12 @@ namespace OpenSim.Region.Environment
20 m_scene = world; 20 m_scene = world;
21 } 21 }
22 22
23 private virtual bool IsAdministrator(LLUUID user) 23 protected virtual bool IsAdministrator(LLUUID user)
24 { 24 {
25 return m_scene.RegionInfo.MasterAvatarAssignedUUID == user; 25 return m_scene.RegionInfo.MasterAvatarAssignedUUID == user;
26 } 26 }
27 27
28 private virtual bool IsEstateManager(LLUUID user) 28 protected virtual bool IsEstateManager(LLUUID user)
29 { 29 {
30 return false; 30 return false;
31 } 31 }
@@ -51,7 +51,7 @@ namespace OpenSim.Region.Environment
51 return false; 51 return false;
52 52
53 SceneObject task = (SceneObject)m_scene.Entities[obj]; 53 SceneObject task = (SceneObject)m_scene.Entities[obj];
54 LLUUID taskOwner; // Since we dont have a 'owner' property on task yet 54 LLUUID taskOwner = null; // Since we dont have a 'owner' property on task yet
55 55
56 // Object owners should be able to delete their own content 56 // Object owners should be able to delete their own content
57 if (user == taskOwner) 57 if (user == taskOwner)