aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-21 07:09:17 +0000
committerAdam Frisby2008-04-21 07:09:17 +0000
commitfef3b3689492dea63693c964bcdbec9f5137eb5e (patch)
tree7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
parent* Terrain Module code has been reformatted to comply with guidelines. (diff)
downloadopensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip
opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz
opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2
opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to '')
-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;