diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f48d42d..ad444eb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -11918,7 +11918,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
11918 | 11918 | ||
11919 | if (m_ScriptEngine.Config.GetBoolean("AllowGodFunctions", false)) | 11919 | if (m_ScriptEngine.Config.GetBoolean("AllowGodFunctions", false)) |
11920 | { | 11920 | { |
11921 | if (World.Permissions.CanRunConsoleCommand(m_host.OwnerID)) | 11921 | if (World.Permissions.IsAdministrator(m_host.OwnerID)) |
11922 | { | 11922 | { |
11923 | if (mask == ScriptBaseClass.MASK_BASE)//0 | 11923 | if (mask == ScriptBaseClass.MASK_BASE)//0 |
11924 | { | 11924 | { |
@@ -11980,7 +11980,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
11980 | 11980 | ||
11981 | if (m_ScriptEngine.Config.GetBoolean("AllowGodFunctions", false)) | 11981 | if (m_ScriptEngine.Config.GetBoolean("AllowGodFunctions", false)) |
11982 | { | 11982 | { |
11983 | if (World.Permissions.CanRunConsoleCommand(m_host.OwnerID)) | 11983 | if (World.Permissions.IsAdministrator(m_host.OwnerID)) |
11984 | { | 11984 | { |
11985 | TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); | 11985 | TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName); |
11986 | 11986 | ||