aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 682c36d..5658f90 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2025,6 +2025,9 @@ namespace OpenSim.Region.Framework.Scenes
2025 2025
2026 public void SetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID, bool running) 2026 public void SetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID, bool running)
2027 { 2027 {
2028 if (!Permissions.CanEditScript(itemID, objectID, controllingClient.AgentId))
2029 return;
2030
2028 SceneObjectPart part = GetSceneObjectPart(objectID); 2031 SceneObjectPart part = GetSceneObjectPart(objectID);
2029 if (part == null) 2032 if (part == null)
2030 return; 2033 return;