diff options
author | Diva Canto | 2013-02-27 20:59:16 -0800 |
---|---|---|
committer | Diva Canto | 2013-02-27 20:59:16 -0800 |
commit | bb447581795cb622e88a071d3050370c64ace946 (patch) | |
tree | b082adf321464c7cca0ada76fc36bdf223cc4d8b /OpenSim/Region/DataSnapshot | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-bb447581795cb622e88a071d3050370c64ace946.zip opensim-SC_OLD-bb447581795cb622e88a071d3050370c64ace946.tar.gz opensim-SC_OLD-bb447581795cb622e88a071d3050370c64ace946.tar.bz2 opensim-SC_OLD-bb447581795cb622e88a071d3050370c64ace946.tar.xz |
Switched to using the other Util function with a default value.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/DataSnapshot/DataSnapshotManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs index 61dbfa5..32017a8 100644 --- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs +++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs | |||
@@ -113,7 +113,8 @@ namespace OpenSim.Region.DataSnapshot | |||
113 | try | 113 | try |
114 | { | 114 | { |
115 | m_enabled = config.Configs["DataSnapshot"].GetBoolean("index_sims", m_enabled); | 115 | m_enabled = config.Configs["DataSnapshot"].GetBoolean("index_sims", m_enabled); |
116 | string gatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", new string[] { "Startup", "Hypergrid", "GridService" }); | 116 | string gatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", |
117 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); | ||
117 | // Legacy. Remove soon! | 118 | // Legacy. Remove soon! |
118 | if (string.IsNullOrEmpty(gatekeeper)) | 119 | if (string.IsNullOrEmpty(gatekeeper)) |
119 | { | 120 | { |