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