aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs15
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs2
2 files changed, 14 insertions, 3 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 }
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index 1d70546..8223f12 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -402,7 +402,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
402 402
403 public string Name 403 public string Name
404 { 404 {
405 get { return "PermissionsModule"; } 405 get { return "DefaultPermissionsModule"; }
406 } 406 }
407 407
408 public bool IsSharedModule 408 public bool IsSharedModule