diff options
author | Justin Clark-Casey (justincc) | 2013-08-08 00:48:22 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-08 00:48:22 +0100 |
commit | 638c3d25b0787c2fbdabbe80519389ad8ddb944d (patch) | |
tree | b8ea492ab84345df22c5a144ee38ace66becadda /OpenSim | |
parent | minor: add some method doc to ScenePresence fields used for entity transfer, ... (diff) | |
download | opensim-SC_OLD-638c3d25b0787c2fbdabbe80519389ad8ddb944d.zip opensim-SC_OLD-638c3d25b0787c2fbdabbe80519389ad8ddb944d.tar.gz opensim-SC_OLD-638c3d25b0787c2fbdabbe80519389ad8ddb944d.tar.bz2 opensim-SC_OLD-638c3d25b0787c2fbdabbe80519389ad8ddb944d.tar.xz |
Remove never implemented stub modules commands (list, load, unload) from back in 2009.
"show modules" is the functional console command that will show currently loaded modules.
Addresses http://opensimulator.org/mantis/view.php?id=6730
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 40 |
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> |