aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-01-11 08:00:03 +0000
committerMelanie2010-01-11 08:00:03 +0000
commit8452c0869d8241b6a32e03c61777da7542ee0f1b (patch)
tree299e10827a65270bc482562e88e3b48f2c7d0a70 /OpenSim
parentMerge branch 'master' into careminster (diff)
parentMake console_port work. (diff)
downloadopensim-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.cs4
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 {