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)
|
||||||
{
|
GodLevel = account.UserLevel;
|
||||||
if (account.UserLevel > 0)
|
else
|
||||||
GodLevel = account.UserLevel;
|
GodLevel = 200; // local or HG
|
||||||
else
|
|
||||||
GodLevel = 200;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue