First, change DefaultPermissionsModule so it returns the correct name...
... Then, make sure we also check the old-style module stack before we throw a tantrumavinationmerge
parent
d5f497478a
commit
b860c8021e
|
@ -356,12 +356,23 @@ namespace OpenSim
|
||||||
foreach (string s in m_permsModules)
|
foreach (string s in m_permsModules)
|
||||||
{
|
{
|
||||||
if (!scene.RegionModules.ContainsKey(s))
|
if (!scene.RegionModules.ContainsKey(s))
|
||||||
|
{
|
||||||
|
bool found = false;
|
||||||
|
foreach (IRegionModule m in modules)
|
||||||
|
{
|
||||||
|
if (m.Name == s)
|
||||||
|
{
|
||||||
|
found = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!found)
|
||||||
{
|
{
|
||||||
m_log.Fatal("[MODULES]: Required module " + s + " not found.");
|
m_log.Fatal("[MODULES]: Required module " + s + " not found.");
|
||||||
Environment.Exit(0);
|
Environment.Exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
scene.SetModuleInterfaces();
|
scene.SetModuleInterfaces();
|
||||||
// First Step of bootreport sequence
|
// First Step of bootreport sequence
|
||||||
|
|
|
@ -402,7 +402,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||||
|
|
||||||
public string Name
|
public string Name
|
||||||
{
|
{
|
||||||
get { return "PermissionsModule"; }
|
get { return "DefaultPermissionsModule"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsSharedModule
|
public bool IsSharedModule
|
||||||
|
|
Loading…
Reference in New Issue