diff options
author | Melanie Thielker | 2014-09-09 05:20:53 +0200 |
---|---|---|
committer | Melanie Thielker | 2014-09-09 05:20:53 +0200 |
commit | 347c5b3070f7ce6ecc2a617e09fd02e4616061ba (patch) | |
tree | c027d3d3e9a1f86fac4b290f2702324c5b941e01 /OpenSim/Region/ScriptEngine/Shared | |
parent | Add some forgotten calls (diff) | |
download | opensim-SC_OLD-347c5b3070f7ce6ecc2a617e09fd02e4616061ba.zip opensim-SC_OLD-347c5b3070f7ce6ecc2a617e09fd02e4616061ba.tar.gz opensim-SC_OLD-347c5b3070f7ce6ecc2a617e09fd02e4616061ba.tar.bz2 opensim-SC_OLD-347c5b3070f7ce6ecc2a617e09fd02e4616061ba.tar.xz |
Add perms check
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 29e526d..1536959 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -13497,7 +13497,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
13497 | } | 13497 | } |
13498 | 13498 | ||
13499 | if (m_item.PermsGranter == UUID.Zero) | 13499 | if (m_item.PermsGranter == UUID.Zero) |
13500 | { | ||
13501 | llShout(ScriptBaseClass.DEBUG_CHANNEL, "No permission to override animations"); | ||
13500 | return; | 13502 | return; |
13503 | } | ||
13501 | 13504 | ||
13502 | if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_OVERRIDE_ANIMATIONS) == 0) | 13505 | if ((m_item.PermsMask & ScriptBaseClass.PERMISSION_OVERRIDE_ANIMATIONS) == 0) |
13503 | { | 13506 | { |