aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMelanie Thielker2014-09-09 05:20:53 +0200
committerMelanie Thielker2014-09-09 05:20:53 +0200
commit347c5b3070f7ce6ecc2a617e09fd02e4616061ba (patch)
treec027d3d3e9a1f86fac4b290f2702324c5b941e01 /OpenSim/Region/ScriptEngine/Shared
parentAdd some forgotten calls (diff)
downloadopensim-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.cs3
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 {