Added undocumented "modules list" command, lists shared region modules.

ThreadPoolClientBranch
Tedd Hansen 2008-02-09 12:08:08 +00:00
parent f6e9b9404f
commit 4d376ee630
1 changed files with 15 additions and 1 deletions

View File

@ -931,7 +931,21 @@ namespace OpenSim
}
}
break;
case "modules":
if (cmdparams.Length > 0)
{
switch (cmdparams[0].ToLower())
{
case "list":
foreach (IRegionModule irm in m_moduleLoader.GetLoadedSharedModules)
{
m_console.Notice("Shared region module: " + irm.Name);
}
break;
}
}
break;
/*
* Temporarily disabled but it would be good to have this - needs to be levered
* in to BaseOpenSimServer (which requires a RunCmd method restrcuture probably)