mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Change GRID_GOD script permission to do what it says on the tin.
Suggested by Mandarinka
This commit is contained in:
@@ -418,7 +418,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
//Only gods may use the function
|
||||
if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("GRID_GOD"))
|
||||
{
|
||||
if (World.Permissions.IsAdministrator(ownerID))
|
||||
if (World.Permissions.IsGridGod(ownerID))
|
||||
{
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user