Restore "AllowCareminsterFunctions" as an alias to the new "AllowLightshareFunctions".

avinationmerge
Tom Grimshaw 2010-06-26 18:54:55 -07:00
parent 592ff1288d
commit 9f00f141fe
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (m_ScriptEngine.Config.GetBoolean("AllowLightShareFunctions", false)) if (m_ScriptEngine.Config.GetBoolean("AllowLightShareFunctions", false))
m_LSFunctionsEnabled = true; m_LSFunctionsEnabled = true;
if (m_ScriptEngine.Config.GetBoolean("AllowCareminsterFunctions", false))
m_LSFunctionsEnabled = true;
m_comms = m_ScriptEngine.World.RequestModuleInterface<IScriptModuleComms>(); m_comms = m_ScriptEngine.World.RequestModuleInterface<IScriptModuleComms>();
if (m_comms == null) if (m_comms == null)
m_LSFunctionsEnabled = false; m_LSFunctionsEnabled = false;