mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Perils of copypaste. Missing references.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user