diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index f878b5e986..c1810871e2 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; using OpenSim.Region.Environment.Modules.Framework; using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander; using OpenSim.Region.Environment.Scenes; +using OpenSim.Framework.Communications.Cache; namespace OpenSim.Region.Environment.Modules.World.Permissions { @@ -246,7 +247,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions return true; } CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(user); - if(profile.UserProfile.GodLevel >= 200 && m_AllowGridGods) + if(profile.UserProfile.GodLevel >= 200 && m_allowGridGods) return true; return false;