Change GRID_GOD script permission to do what it says on the tin.
Suggested by Mandarinkamelanie
parent
7286b27ff9
commit
2bfbd6ef2e
|
@ -418,7 +418,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
//Only gods may use the function
|
//Only gods may use the function
|
||||||
if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("GRID_GOD"))
|
if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("GRID_GOD"))
|
||||||
{
|
{
|
||||||
if (World.Permissions.IsAdministrator(ownerID))
|
if (World.Permissions.IsGridGod(ownerID))
|
||||||
{
|
{
|
||||||
return String.Empty;
|
return String.Empty;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue