aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie Thielker2016-12-21 20:56:28 +0000
committerMelanie Thielker2016-12-21 20:56:28 +0000
commit2bfbd6ef2e2628d130f5c8ba502f2247d074ce55 (patch)
tree3a9571c9776cd114fa8cfe8569b38b147104362e /OpenSim/Region/ScriptEngine/Shared/Api
parentAdd GRID_GOD to the list of values allowed for enabling OSSL functions (diff)
downloadopensim-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.cs2
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 }