Change GRID_GOD script permission to do what it says on the tin.

Suggested by Mandarinka
melanie
Melanie Thielker 2016-12-21 20:56:28 +00:00
parent 7286b27ff9
commit 2bfbd6ef2e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }