diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 | ||||
-rw-r--r-- | bin/config-include/osslEnable.ini | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 07549f8..f40bf20 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -310,7 +310,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
310 | foreach (string id in ids) | 310 | foreach (string id in ids) |
311 | { | 311 | { |
312 | string current = id.Trim(); | 312 | string current = id.Trim(); |
313 | if (current.ToUpper() == "PARCEL_GROUP_MEMBER" || current.ToUpper() == "PARCEL_OWNER" || current.ToUpper() == "ESTATE_MANAGER" || current.ToUpper() == "ESTATE_OWNER" || current.ToUpper() == "GOD" || current.ToUpper() == "GRID_GOD") | 313 | if (current.ToUpper() == "PARCEL_GROUP_MEMBER" || current.ToUpper() == "PARCEL_OWNER" || current.ToUpper() == "ESTATE_MANAGER" || current.ToUpper() == "ESTATE_OWNER" || current.ToUpper() == "ACTIVE_GOD" || current.ToUpper() == "GRID_GOD") |
314 | { | 314 | { |
315 | if (!perms.AllowedOwnerClasses.Contains(current)) | 315 | if (!perms.AllowedOwnerClasses.Contains(current)) |
316 | perms.AllowedOwnerClasses.Add(current.ToUpper()); | 316 | perms.AllowedOwnerClasses.Add(current.ToUpper()); |
@@ -426,7 +426,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
426 | } | 426 | } |
427 | 427 | ||
428 | //Only active gods may use the function | 428 | //Only active gods may use the function |
429 | if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("GOD")) | 429 | if (m_FunctionPerms[function].AllowedOwnerClasses.Contains("ACTIVE_GOD")) |
430 | { | 430 | { |
431 | ScenePresence sp = World.GetScenePresence(ownerID); | 431 | ScenePresence sp = World.GetScenePresence(ownerID); |
432 | if (sp != null && !sp.IsDeleted && sp.IsGod) | 432 | if (sp != null && !sp.IsDeleted && sp.IsGod) |
diff --git a/bin/config-include/osslEnable.ini b/bin/config-include/osslEnable.ini index 3859ba6..7bdb7b5 100644 --- a/bin/config-include/osslEnable.ini +++ b/bin/config-include/osslEnable.ini | |||
@@ -38,7 +38,7 @@ | |||
38 | ; against the owner of the object containing the script. | 38 | ; against the owner of the object containing the script. |
39 | ; The comma separated entries in the list may be one of: | 39 | ; The comma separated entries in the list may be one of: |
40 | ; "GRID_GOD" -- enable for users with UserLevel >= 200 | 40 | ; "GRID_GOD" -- enable for users with UserLevel >= 200 |
41 | ; "GOD" -- enable for present and with active god power | 41 | ; "ACTIVE_GOD" -- enable for present and with active god power user |
42 | ; "ESTATE_MANAGER" -- enable for estate manager | 42 | ; "ESTATE_MANAGER" -- enable for estate manager |
43 | ; "ESTATE_OWNER" -- enable for estate owner | 43 | ; "ESTATE_OWNER" -- enable for estate owner |
44 | ; "PARCEL_OWNER" -- enable for parcel owner | 44 | ; "PARCEL_OWNER" -- enable for parcel owner |