aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Application/OpenSim.cs40
1 files changed, 0 insertions, 40 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 9dcc8da..58f9368 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -348,18 +348,6 @@ namespace OpenSim
348 m_console.Commands.AddCommand("Regions", false, "delete-region", 348 m_console.Commands.AddCommand("Regions", false, "delete-region",
349 "delete-region <name>", 349 "delete-region <name>",
350 "Delete a region from disk", RunCommand); 350 "Delete a region from disk", RunCommand);
351
352 m_console.Commands.AddCommand("General", false, "modules list",
353 "modules list",
354 "List modules", HandleModules);
355
356 m_console.Commands.AddCommand("General", false, "modules load",
357 "modules load <name>",
358 "Load a module", HandleModules);
359
360 m_console.Commands.AddCommand("General", false, "modules unload",
361 "modules unload <name>",
362 "Unload a module", HandleModules);
363 } 351 }
364 352
365 protected override void ShutdownSpecific() 353 protected override void ShutdownSpecific()
@@ -557,34 +545,6 @@ namespace OpenSim
557 } 545 }
558 546
559 /// <summary> 547 /// <summary>
560 /// Load, Unload, and list Region modules in use
561 /// </summary>
562 /// <param name="module"></param>
563 /// <param name="cmd"></param>
564 private void HandleModules(string module, string[] cmd)
565 {
566 List<string> args = new List<string>(cmd);
567 args.RemoveAt(0);
568 string[] cmdparams = args.ToArray();
569
570 if (cmdparams.Length > 0)
571 {
572 switch (cmdparams[0].ToLower())
573 {
574 case "list":
575 //TODO: Convert to new region modules
576 break;
577 case "unload":
578 //TODO: Convert to new region modules
579 break;
580 case "load":
581 //TODO: Convert to new region modules
582 break;
583 }
584 }
585 }
586
587 /// <summary>
588 /// Runs commands issued by the server console from the operator 548 /// Runs commands issued by the server console from the operator
589 /// </summary> 549 /// </summary>
590 /// <param name="command">The first argument of the parameter (the command)</param> 550 /// <param name="command">The first argument of the parameter (the command)</param>