diff options
author | Melanie Thielker | 2008-08-15 23:35:01 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-15 23:35:01 +0000 |
commit | 437b4a8aaabb0d739d8f6672007a630779a40ffe (patch) | |
tree | c4fb2ead92a38f241aa4f842769e92c3e6231dee /OpenSim/Region/Environment | |
parent | Fix repeated user profile info lookups. Redirect those lookups to cache. (diff) | |
download | opensim-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/Region/Environment')
-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; |