From 0eef82291edd7d0c691aa3d08ad6e5a7968110f9 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 4 Sep 2007 17:09:47 +0000 Subject: Added "show modules" command that if at root level will display a list of loaded "shared modules" (modules instances that are shared by multiple regions) or if a region is set then will display the list of local modules loaded in that region. Can now use "show users" when a region is set, to have a list of users in just that region displayed. --- OpenSim/Region/Application/OpenSimMain.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index f84e8fc..c94d328 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs @@ -585,6 +585,13 @@ namespace OpenSim } } break; + case "modules": + m_log.Error("The currently loaded shared modules are:"); + foreach (OpenSim.Region.Environment.Interfaces.IRegionModule module in m_moduleLoader.LoadedSharedModules.Values) + { + m_log.Error("Shared Module: " + module.GetName()); + } + break; } } -- cgit v1.1