Revert "Let HG users be gods too, if they have local permission to be so."
HG gods are not safe at this point. It's better to disallow this until
they can be made safe.
This reverts commit e86c765be3
.
bullet-2.82
parent
e86c765be3
commit
807fb8339b
|
@ -3772,10 +3772,13 @@ 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 && account.UserLevel > 0)
|
if (account != null)
|
||||||
GodLevel = account.UserLevel;
|
{
|
||||||
else
|
if (account.UserLevel > 0)
|
||||||
GodLevel = 200; // local or HG
|
GodLevel = account.UserLevel;
|
||||||
|
else
|
||||||
|
GodLevel = 200;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue