diff options
author | Melanie | 2010-01-11 08:00:03 +0000 |
---|---|---|
committer | Melanie | 2010-01-11 08:00:03 +0000 |
commit | 8452c0869d8241b6a32e03c61777da7542ee0f1b (patch) | |
tree | 299e10827a65270bc482562e88e3b48f2c7d0a70 /OpenSim | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Make console_port work. (diff) | |
download | opensim-SC_OLD-8452c0869d8241b6a32e03c61777da7542ee0f1b.zip opensim-SC_OLD-8452c0869d8241b6a32e03c61777da7542ee0f1b.tar.gz opensim-SC_OLD-8452c0869d8241b6a32e03c61777da7542ee0f1b.tar.bz2 opensim-SC_OLD-8452c0869d8241b6a32e03c61777da7542ee0f1b.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index cfa94ea..e09d730 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -67,6 +67,7 @@ namespace OpenSim | |||
67 | base.ReadExtraConfigSettings(); | 67 | base.ReadExtraConfigSettings(); |
68 | 68 | ||
69 | IConfig startupConfig = m_config.Source.Configs["Startup"]; | 69 | IConfig startupConfig = m_config.Source.Configs["Startup"]; |
70 | IConfig networkConfig = m_config.Source.Configs["Network"]; | ||
70 | 71 | ||
71 | int stpMaxThreads = 15; | 72 | int stpMaxThreads = 15; |
72 | 73 | ||
@@ -80,7 +81,8 @@ namespace OpenSim | |||
80 | else | 81 | else |
81 | m_consoleType= startupConfig.GetString("console", String.Empty); | 82 | m_consoleType= startupConfig.GetString("console", String.Empty); |
82 | 83 | ||
83 | m_consolePort = (uint)startupConfig.GetInt("console_port", 0); | 84 | if (networkConfig != null) |
85 | m_consolePort = (uint)networkConfig.GetInt("console_port", 0); | ||
84 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); | 86 | m_timedScript = startupConfig.GetString("timer_Script", "disabled"); |
85 | if (m_logFileAppender != null) | 87 | if (m_logFileAppender != null) |
86 | { | 88 | { |