From 437b4a8aaabb0d739d8f6672007a630779a40ffe Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 15 Aug 2008 23:35:01 +0000 Subject: Perils of copypaste. Missing references. --- .../Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') 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; 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; -- cgit v1.1