aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorCharles Krinke2008-07-08 15:16:43 +0000
committerCharles Krinke2008-07-08 15:16:43 +0000
commit01904e66f243df062440fc0ff621f349e92687db (patch)
treec5f0e376f10112dd01e3ba2a66294604572dd207 /OpenSim/Region/ScriptEngine/Common
parentMantis#1690. Thank you, Malanie for a patch that: (diff)
downloadopensim-SC-01904e66f243df062440fc0ff621f349e92687db.zip
opensim-SC-01904e66f243df062440fc0ff621f349e92687db.tar.gz
opensim-SC-01904e66f243df062440fc0ff621f349e92687db.tar.bz2
opensim-SC-01904e66f243df062440fc0ff621f349e92687db.tar.xz
Mantis#1690. Thank you kindly, Melanie for a patch that:
esets script permissions when a script is recompiled.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs
index 75ab2aa..99bbdee 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs
@@ -432,6 +432,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
432 IScript s = GetScript(localID, itemID); 432 IScript s = GetScript(localID, itemID);
433 string script = s.Source; 433 string script = s.Source;
434 StopScript(localID, itemID); 434 StopScript(localID, itemID);
435 SceneObjectPart part = World.GetSceneObjectPart(localID);
436 part.GetInventoryItem(itemID).PermsMask = 0;
437 part.GetInventoryItem(itemID).PermsGranter = LLUUID.Zero;
435 StartScript(localID, itemID, script, s.StartParam, false); 438 StartScript(localID, itemID, script, s.StartParam, false);
436 } 439 }
437 440