aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs18
1 files changed, 5 insertions, 13 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
index de19f4e..b919f8d 100644
--- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
@@ -25,21 +25,13 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27using System; 27using System;
28using System.Collections;
29using System.Collections.Generic;
30using System.Runtime.Remoting.Lifetime;
31using System.Text;
32using System.Threading;
33using Axiom.Math; 28using Axiom.Math;
34using libsecondlife; 29using libsecondlife;
35using OpenSim.Framework; 30using Nini.Config;
36using OpenSim.Framework.Communications; 31using OpenSim.Framework.Console;
37using OpenSim.Region.Environment.Interfaces; 32using OpenSim.Region.Environment.Interfaces;
38using OpenSim.Region.Environment.Scenes; 33using OpenSim.Region.Environment.Scenes;
39using OpenSim.Region.ScriptEngine.Common; 34
40using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
41using OpenSim.Region.Environment;
42using OpenSim.Region.Environment.Modules.LandManagement;
43//using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL; 35//using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL;
44 36
45namespace OpenSim.Region.ScriptEngine.Common 37namespace OpenSim.Region.ScriptEngine.Common
@@ -408,7 +400,7 @@ namespace OpenSim.Region.ScriptEngine.Common
408 public bool osConsoleCommand(string command) 400 public bool osConsoleCommand(string command)
409 { 401 {
410 m_host.AddScriptLPS(1); 402 m_host.AddScriptLPS(1);
411 Nini.Config.IConfigSource config = new Nini.Config.IniConfigSource(Application.iniFilePath); 403 IConfigSource config = new IniConfigSource(Application.iniFilePath);
412 if (config.Configs["LL-Functions"] == null) 404 if (config.Configs["LL-Functions"] == null)
413 config.AddConfig("LL-Functions"); 405 config.AddConfig("LL-Functions");
414 406
@@ -416,7 +408,7 @@ namespace OpenSim.Region.ScriptEngine.Common
416 { 408 {
417 if (World.PermissionsMngr.CanRunConsoleCommand(m_host.OwnerID)) 409 if (World.PermissionsMngr.CanRunConsoleCommand(m_host.OwnerID))
418 { 410 {
419 OpenSim.Framework.Console.MainConsole.Instance.RunCommand(command); 411 MainConsole.Instance.RunCommand(command);
420 return true; 412 return true;
421 } 413 }
422 return false; 414 return false;