aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs15
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index b21793e..65dac66 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -360,8 +360,19 @@ namespace OpenSim
360 { 360 {
361 if (!scene.RegionModules.ContainsKey(s)) 361 if (!scene.RegionModules.ContainsKey(s))
362 { 362 {
363 m_log.Fatal("[MODULES]: Required module " + s + " not found."); 363 bool found = false;
364 Environment.Exit(0); 364 foreach (IRegionModule m in modules)
365 {
366 if (m.Name == s)
367 {
368 found = true;
369 }
370 }
371 if (!found)
372 {
373 m_log.Fatal("[MODULES]: Required module " + s + " not found.");
374 Environment.Exit(0);
375 }
365 } 376 }
366 } 377 }
367 } 378 }