diff options
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) |