aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/DataSnapshot')
-rw-r--r--OpenSim/Region/DataSnapshot/DataSnapshotManager.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
index 46c9b3c..586b665 100644
--- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
+++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs
@@ -240,11 +240,17 @@ namespace OpenSim.Region.DataSnapshot
240 XmlDocument requestedSnap = new XmlDocument(); 240 XmlDocument requestedSnap = new XmlDocument();
241 requestedSnap.AppendChild(requestedSnap.CreateXmlDeclaration("1.0", null, null)); 241 requestedSnap.AppendChild(requestedSnap.CreateXmlDeclaration("1.0", null, null));
242 requestedSnap.AppendChild(requestedSnap.CreateWhitespace("\r\n")); 242 requestedSnap.AppendChild(requestedSnap.CreateWhitespace("\r\n"));
243
243 XmlNode regiondata = requestedSnap.CreateNode(XmlNodeType.Element, "regiondata", ""); 244 XmlNode regiondata = requestedSnap.CreateNode(XmlNodeType.Element, "regiondata", "");
244 try 245 try
245 { 246 {
246 if (regionName == null || regionName == "") 247 if (regionName == null || regionName == "")
247 { 248 {
249 XmlNode timerblock = requestedSnap.CreateNode(XmlNodeType.Element, "expire", "");
250 timerblock.InnerText = m_period.ToString();
251 regiondata.AppendChild(timerblock);
252
253 regiondata.AppendChild(requestedSnap.CreateWhitespace("\r\n"));
248 foreach (Scene scene in m_scenes) 254 foreach (Scene scene in m_scenes)
249 { 255 {
250 regiondata.AppendChild(m_snapStore.GetScene(scene, requestedSnap)); 256 regiondata.AppendChild(m_snapStore.GetScene(scene, requestedSnap));