mirror of
https://github.com/opensim/opensim.git
synced 2026-05-24 19:05:34 +08:00
Bug fix in initialization of RegionAssetServer/MXP. Sometimes the MXP section in ini doesn't exist.
This commit is contained in:
@@ -58,9 +58,9 @@ namespace OpenSim.Region.CoreModules.Framework.Services
|
||||
m_scene = scene;
|
||||
|
||||
// This module is only on for standalones in hypergrid mode
|
||||
enabled = (!config.Configs["Startup"].GetBoolean("gridmode", true)) &&
|
||||
(config.Configs["Startup"].GetBoolean("hypergrid", true)||
|
||||
config.Configs["MXP"].GetBoolean("Enabled", true));
|
||||
enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) &&
|
||||
config.Configs["Startup"].GetBoolean("hypergrid", true)) ||
|
||||
((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user