aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index b60cd93..86f0a58 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -1732,6 +1732,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1732 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1732 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1733 if (m_bypassPermissions) return m_bypassPermissionsValue; 1733 if (m_bypassPermissions) return m_bypassPermissionsValue;
1734 1734
1735 // A god is a god is a god
1736 if (IsAdministrator(user))
1737 return true;
1738
1735 if (objectID == UUID.Zero) // User inventory 1739 if (objectID == UUID.Zero) // User inventory
1736 { 1740 {
1737 IInventoryService invService = m_scene.InventoryService; 1741 IInventoryService invService = m_scene.InventoryService;
@@ -1828,6 +1832,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1828 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1832 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1829 if (m_bypassPermissions) return m_bypassPermissionsValue; 1833 if (m_bypassPermissions) return m_bypassPermissionsValue;
1830 1834
1835 // A god is a god is a god
1836 if (IsAdministrator(user))
1837 return true;
1838
1831 if (objectID == UUID.Zero) // User inventory 1839 if (objectID == UUID.Zero) // User inventory
1832 { 1840 {
1833 IInventoryService invService = m_scene.InventoryService; 1841 IInventoryService invService = m_scene.InventoryService;