diff options
author | Tedd Hansen | 2008-02-18 14:21:51 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-18 14:21:51 +0000 |
commit | c62328950a3e4ad30dbe972db11d05ca7519d6de (patch) | |
tree | 4610c7af86f2831f085334aed67f50dab615736b /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |
parent | bring back some script engine debugging, hoping this will help track down the... (diff) | |
download | opensim-SC_OLD-c62328950a3e4ad30dbe972db11d05ca7519d6de.zip opensim-SC_OLD-c62328950a3e4ad30dbe972db11d05ca7519d6de.tar.gz opensim-SC_OLD-c62328950a3e4ad30dbe972db11d05ca7519d6de.tar.bz2 opensim-SC_OLD-c62328950a3e4ad30dbe972db11d05ca7519d6de.tar.xz |
More exception checks and crash hints
If no scriptengine is specified then don't try to load any.
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index a6d5089..005bfd7 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -56,7 +56,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
56 | { | 56 | { |
57 | try | 57 | try |
58 | { | 58 | { |
59 | if (openSim.ConfigSource.Configs["RemoteAdmin"].GetBoolean("enabled", false)) | 59 | if (openSim.ConfigSource.Configs["RemoteAdmin"] != null && openSim.ConfigSource.Configs["RemoteAdmin"].GetBoolean("enabled", false)) |
60 | { | 60 | { |
61 | m_log.Info("[RADMIN]: Remote Admin Plugin Enabled"); | 61 | m_log.Info("[RADMIN]: Remote Admin Plugin Enabled"); |
62 | requiredPassword = openSim.ConfigSource.Configs["RemoteAdmin"].GetString("access_password", String.Empty); | 62 | requiredPassword = openSim.ConfigSource.Configs["RemoteAdmin"].GetString("access_password", String.Empty); |