diff options
author | Tedd Hansen | 2008-02-09 12:08:08 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-09 12:08:08 +0000 |
commit | 4d376ee630fdc7942c95dd187b442c73da9463c7 (patch) | |
tree | 826a377abdfa0cd4cb93f352a2f6401aa3652a80 /OpenSim/Region/Application/OpenSimMain.cs | |
parent | Applied patch from mirceakitsune to fix #502 (lower land does the same as rai... (diff) | |
download | opensim-SC-4d376ee630fdc7942c95dd187b442c73da9463c7.zip opensim-SC-4d376ee630fdc7942c95dd187b442c73da9463c7.tar.gz opensim-SC-4d376ee630fdc7942c95dd187b442c73da9463c7.tar.bz2 opensim-SC-4d376ee630fdc7942c95dd187b442c73da9463c7.tar.xz |
Added undocumented "modules list" command, lists shared region modules.
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 074a7b5..0aeb53a 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -931,7 +931,21 @@ namespace OpenSim | |||
931 | } | 931 | } |
932 | } | 932 | } |
933 | break; | 933 | break; |
934 | 934 | case "modules": | |
935 | if (cmdparams.Length > 0) | ||
936 | { | ||
937 | switch (cmdparams[0].ToLower()) | ||
938 | { | ||
939 | case "list": | ||
940 | foreach (IRegionModule irm in m_moduleLoader.GetLoadedSharedModules) | ||
941 | { | ||
942 | m_console.Notice("Shared region module: " + irm.Name); | ||
943 | } | ||
944 | break; | ||
945 | } | ||
946 | } | ||
947 | |||
948 | break; | ||
935 | /* | 949 | /* |
936 | * Temporarily disabled but it would be good to have this - needs to be levered | 950 | * Temporarily disabled but it would be good to have this - needs to be levered |
937 | * in to BaseOpenSimServer (which requires a RunCmd method restrcuture probably) | 951 | * in to BaseOpenSimServer (which requires a RunCmd method restrcuture probably) |