Let HG users be gods too, if they have local permission to be so.
parent
c915791824
commit
e86c765be3
|
@ -3772,13 +3772,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// who is granted god powers, but has no god level set.
|
// who is granted god powers, but has no god level set.
|
||||||
//
|
//
|
||||||
UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, agentID);
|
UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, agentID);
|
||||||
if (account != null)
|
if (account != null && account.UserLevel > 0)
|
||||||
{
|
|
||||||
if (account.UserLevel > 0)
|
|
||||||
GodLevel = account.UserLevel;
|
GodLevel = account.UserLevel;
|
||||||
else
|
else
|
||||||
GodLevel = 200;
|
GodLevel = 200; // local or HG
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue