mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
More exception checks and crash hints
If no scriptengine is specified then don't try to load any.
This commit is contained in:
@@ -56,7 +56,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions
|
||||
{
|
||||
try
|
||||
{
|
||||
if (openSim.ConfigSource.Configs["RemoteAdmin"].GetBoolean("enabled", false))
|
||||
if (openSim.ConfigSource.Configs["RemoteAdmin"] != null && openSim.ConfigSource.Configs["RemoteAdmin"].GetBoolean("enabled", false))
|
||||
{
|
||||
m_log.Info("[RADMIN]: Remote Admin Plugin Enabled");
|
||||
requiredPassword = openSim.ConfigSource.Configs["RemoteAdmin"].GetString("access_password", String.Empty);
|
||||
|
||||
Reference in New Issue
Block a user