Perils of copypaste. Missing references.
parent
32f90a028f
commit
437b4a8aaa
|
@ -37,6 +37,7 @@ using OpenSim.Region.Environment.Interfaces;
|
||||||
using OpenSim.Region.Environment.Modules.Framework;
|
using OpenSim.Region.Environment.Modules.Framework;
|
||||||
using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander;
|
using OpenSim.Region.Environment.Modules.Framework.InterfaceCommander;
|
||||||
using OpenSim.Region.Environment.Scenes;
|
using OpenSim.Region.Environment.Scenes;
|
||||||
|
using OpenSim.Framework.Communications.Cache;
|
||||||
|
|
||||||
namespace OpenSim.Region.Environment.Modules.World.Permissions
|
namespace OpenSim.Region.Environment.Modules.World.Permissions
|
||||||
{
|
{
|
||||||
|
@ -246,7 +247,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
CachedUserInfo profile = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(user);
|
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 true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue