aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index 6f72767..f878b5e 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -245,9 +245,10 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
245 if (m_scene.RegionInfo.EstateSettings.EstateOwner == user) 245 if (m_scene.RegionInfo.EstateSettings.EstateOwner == user)
246 return true; 246 return true;
247 } 247 }
248 UserProfileData userProfile = m_scene.CommsManager.UserService.GetUserProfile(user); 248 CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(user);
249 if((userProfile.GodLevel) >= 200 && m_allowGridGods) 249 if(profile.UserProfile.GodLevel >= 200 && m_AllowGridGods)
250 return true; 250 return true;
251
251 return false; 252 return false;
252 } 253 }
253 254