aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-15 23:35:01 +0000
committerMelanie Thielker2008-08-15 23:35:01 +0000
commit437b4a8aaabb0d739d8f6672007a630779a40ffe (patch)
treec4fb2ead92a38f241aa4f842769e92c3e6231dee /OpenSim
parentFix repeated user profile info lookups. Redirect those lookups to cache. (diff)
downloadopensim-SC-437b4a8aaabb0d739d8f6672007a630779a40ffe.zip
opensim-SC-437b4a8aaabb0d739d8f6672007a630779a40ffe.tar.gz
opensim-SC-437b4a8aaabb0d739d8f6672007a630779a40ffe.tar.bz2
opensim-SC-437b4a8aaabb0d739d8f6672007a630779a40ffe.tar.xz
Perils of copypaste. Missing references.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs3
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;
37using OpenSim.Region.Environment.Modules.Framework; 37using OpenSim.Region.Environment.Modules.Framework;
38using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander; 38using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander;
39using OpenSim.Region.Environment.Scenes; 39using OpenSim.Region.Environment.Scenes;
40using OpenSim.Framework.Communications.Cache;
40 41
41namespace OpenSim.Region.Environment.Modules.World.Permissions 42namespace 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;