aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/DataSnapshot/DataSnapshotManager.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
index bca67eb..3763dcd 100644
--- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
+++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
@@ -96,7 +96,8 @@ namespace OpenSim.Region.DataSnapshot
96 96
97 public void Initialise(Scene scene, IConfigSource config) 97 public void Initialise(Scene scene, IConfigSource config)
98 { 98 {
99 if (!m_configLoaded) { 99 if (!m_configLoaded)
100 {
100 m_configLoaded = true; 101 m_configLoaded = true;
101 m_log.Info("[DATASNAPSHOT]: Loading configuration"); 102 m_log.Info("[DATASNAPSHOT]: Loading configuration");
102 //Read from the config for options 103 //Read from the config for options
@@ -111,10 +112,6 @@ namespace OpenSim.Region.DataSnapshot
111 m_gridinfo.Add("userserverURL", config.Configs["Network"].GetString("user_server_url", "harbl")); 112 m_gridinfo.Add("userserverURL", config.Configs["Network"].GetString("user_server_url", "harbl"));
112 m_gridinfo.Add("assetserverURL", config.Configs["Network"].GetString("asset_server_url", "harbl")); 113 m_gridinfo.Add("assetserverURL", config.Configs["Network"].GetString("asset_server_url", "harbl"));
113 } 114 }
114 else
115 {
116 //Non gridmode stuff
117 }
118 115
119 m_gridinfo.Add("Name", config.Configs["DataSnapshot"].GetString("gridname", "harbl")); 116 m_gridinfo.Add("Name", config.Configs["DataSnapshot"].GetString("gridname", "harbl"));
120 m_exposure_level = config.Configs["DataSnapshot"].GetString("data_exposure", m_exposure_level); 117 m_exposure_level = config.Configs["DataSnapshot"].GetString("data_exposure", m_exposure_level);
@@ -205,9 +202,8 @@ namespace OpenSim.Region.DataSnapshot
205 202
206 public void Close() 203 public void Close()
207 { 204 {
208 if (m_dataServices != "" && m_dataServices != "noservices") 205 if (m_enabled && m_dataServices != "" && m_dataServices != "noservices")
209 NotifyDataServices(m_dataServices, "offline"); 206 NotifyDataServices(m_dataServices, "offline");
210
211 } 207 }
212 208
213 209