From 70d264ee6cfae6cfe90d38460c4087b9956dab6c Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 23 Sep 2008 03:36:16 +0000 Subject: Update the permissions system to handle scripts and notecards the way it was meant to. No functional changes, just better code --- OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs | 2 +- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs index 26e5ec2..af29dc8 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs @@ -56,7 +56,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase public IConfigSource ConfigSource; public IConfig ScriptConfigSource; public abstract string ScriptEngineName { get; } - private bool m_enabled = true; + private bool m_enabled = false; private bool m_hookUpToServer = false; /// diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 9219c13..a6416c6 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -67,7 +67,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine private int m_SleepTime; private int m_SaveTime; private ThreadPriority m_Prio; - private bool m_Enabled = true; + private bool m_Enabled = false; // disable warning: need to keep a reference to XEngine.EventManager // alive to avoid it being garbage collected -- cgit v1.1