From 115e0aaf830d31530680b38afd705380be3f284a Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Tue, 23 Apr 2013 21:54:32 +0100
Subject: Fix issue in ConciergeModule where UpdateBroker was sending malformed
XML if any number of avatars other than 1 was in the region.
I don't know how well the rest of ConiergeModule works since I've practically never looked at this code.
Addresses http://opensimulator.org/mantis/view.php?id=6605
---
OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/OptionalModules/Avatar')
diff --git a/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs
index 018357a..c48e585 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Concierge/ConciergeModule.cs
@@ -375,11 +375,13 @@ namespace OpenSim.Region.OptionalModules.Avatar.Concierge
scene.GetRootAgentCount(), scene.RegionInfo.RegionName,
scene.RegionInfo.RegionID,
DateTime.UtcNow.ToString("s")));
+
scene.ForEachRootScenePresence(delegate(ScenePresence sp)
{
- list.Append(String.Format(" \n", sp.Name, sp.UUID));
- list.Append("");
+ list.Append(String.Format(" \n", sp.Name, sp.UUID));
});
+
+ list.Append("");
string payload = list.ToString();
// post via REST to broker
--
cgit v1.1