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
TeleportWork
Justin Clark-Casey (justincc) 2013-08-08 00:48:22 +01:00
parent b10710d4a5
commit 638c3d25b0
1 changed files with 0 additions and 40 deletions

View File

@ -348,18 +348,6 @@ namespace OpenSim
m_console.Commands.AddCommand("Regions", false, "delete-region",
"delete-region <name>",
"Delete a region from disk", RunCommand);
m_console.Commands.AddCommand("General", false, "modules list",
"modules list",
"List modules", HandleModules);
m_console.Commands.AddCommand("General", false, "modules load",
"modules load <name>",
"Load a module", HandleModules);
m_console.Commands.AddCommand("General", false, "modules unload",
"modules unload <name>",
"Unload a module", HandleModules);
}
protected override void ShutdownSpecific()
@ -556,34 +544,6 @@ namespace OpenSim
regInfo.EstateSettings.Save();
}
/// <summary>
/// Load, Unload, and list Region modules in use
/// </summary>
/// <param name="module"></param>
/// <param name="cmd"></param>
private void HandleModules(string module, string[] cmd)
{
List<string> args = new List<string>(cmd);
args.RemoveAt(0);
string[] cmdparams = args.ToArray();
if (cmdparams.Length > 0)
{
switch (cmdparams[0].ToLower())
{
case "list":
//TODO: Convert to new region modules
break;
case "unload":
//TODO: Convert to new region modules
break;
case "load":
//TODO: Convert to new region modules
break;
}
}
}
/// <summary>
/// Runs commands issued by the server console from the operator
/// </summary>