aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 6fd479c..d28d65a 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -961,6 +961,30 @@ namespace OpenSim
961 m_console.Notice("Shared region module: " + irm.Name); 961 m_console.Notice("Shared region module: " + irm.Name);
962 } 962 }
963 break; 963 break;
964 case "unload":
965 if (cmdparams.Length > 1)
966 {
967 foreach (IRegionModule rm in new System.Collections.ArrayList(m_moduleLoader.GetLoadedSharedModules))
968 {
969 if (rm.Name.ToLower() == cmdparams[1].ToLower())
970 {
971 m_console.Notice("Unloading module: " + rm.Name);
972 m_moduleLoader.UnloadModule(rm);
973 }
974 }
975 }
976 break;
977 case "load":
978 if (cmdparams.Length > 1)
979 {
980 foreach (Scene s in new System.Collections.ArrayList(m_sceneManager.Scenes))
981 {
982
983 m_console.Notice("Loading module: " + cmdparams[1]);
984 m_moduleLoader.LoadRegionModules(cmdparams[1], s);
985 }
986 }
987 break;
964 } 988 }
965 } 989 }
966 990