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=6605user_profiles
parent
e1ac683154
commit
115e0aaf83
|
@ -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(" <avatar name=\"{0}\" uuid=\"{1}\" />\n", sp.Name, sp.UUID));
|
||||
list.Append("</avatars>");
|
||||
});
|
||||
|
||||
list.Append("</avatars>");
|
||||
string payload = list.ToString();
|
||||
|
||||
// post via REST to broker
|
||||
|
|
Loading…
Reference in New Issue