diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index f878b5e..c181087 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | |||
@@ -37,6 +37,7 @@ using OpenSim.Region.Environment.Interfaces; | |||
37 | using OpenSim.Region.Environment.Modules.Framework; | 37 | using OpenSim.Region.Environment.Modules.Framework; |
38 | using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander; | 38 | using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander; |
39 | using OpenSim.Region.Environment.Scenes; | 39 | using OpenSim.Region.Environment.Scenes; |
40 | using OpenSim.Framework.Communications.Cache; | ||
40 | 41 | ||
41 | namespace OpenSim.Region.Environment.Modules.World.Permissions | 42 | namespace OpenSim.Region.Environment.Modules.World.Permissions |
42 | { | 43 | { |
@@ -246,7 +247,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
246 | return true; | 247 | return true; |
247 | } | 248 | } |
248 | CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(user); | 249 | CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(user); |
249 | if(profile.UserProfile.GodLevel >= 200 && m_AllowGridGods) | 250 | if(profile.UserProfile.GodLevel >= 200 && m_allowGridGods) |
250 | return true; | 251 | return true; |
251 | 252 | ||
252 | return false; | 253 | return false; |