aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTedd Hansen2008-02-09 12:08:08 +0000
committerTedd Hansen2008-02-09 12:08:08 +0000
commit4d376ee630fdc7942c95dd187b442c73da9463c7 (patch)
tree826a377abdfa0cd4cb93f352a2f6401aa3652a80 /OpenSim/Region
parentApplied patch from mirceakitsune to fix #502 (lower land does the same as rai... (diff)
downloadopensim-SC_OLD-4d376ee630fdc7942c95dd187b442c73da9463c7.zip
opensim-SC_OLD-4d376ee630fdc7942c95dd187b442c73da9463c7.tar.gz
opensim-SC_OLD-4d376ee630fdc7942c95dd187b442c73da9463c7.tar.bz2
opensim-SC_OLD-4d376ee630fdc7942c95dd187b442c73da9463c7.tar.xz
Added undocumented "modules list" command, lists shared region modules.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs16
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)