diff options
author | Melanie Thielker | 2016-12-21 20:56:28 +0000 |
---|---|---|
committer | Melanie Thielker | 2016-12-21 20:56:28 +0000 |
commit | 2bfbd6ef2e2628d130f5c8ba502f2247d074ce55 (patch) | |
tree | 3a9571c9776cd114fa8cfe8569b38b147104362e /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Add GRID_GOD to the list of values allowed for enabling OSSL functions (diff) | |
download | opensim-SC-2bfbd6ef2e2628d130f5c8ba502f2247d074ce55.zip opensim-SC-2bfbd6ef2e2628d130f5c8ba502f2247d074ce55.tar.gz opensim-SC-2bfbd6ef2e2628d130f5c8ba502f2247d074ce55.tar.bz2 opensim-SC-2bfbd6ef2e2628d130f5c8ba502f2247d074ce55.tar.xz |
Change GRID_GOD script permission to do what it says on the tin.
Suggested by Mandarinka
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index c6a4050..5638f01 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -418,7 +418,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
418 | //Only gods may use the function | 418 | //Only gods may use the function |
419 | if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("GRID_GOD")) | 419 | if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("GRID_GOD")) |
420 | { | 420 | { |
421 | if (World.Permissions.IsAdministrator(ownerID)) | 421 | if (World.Permissions.IsGridGod(ownerID)) |
422 | { | 422 | { |
423 | return String.Empty; | 423 | return String.Empty; |
424 | } | 424 | } |