aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
index 38aaf72..74d1f82 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
@@ -358,6 +358,22 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
358 attendees = _sceneAttendees[scene]; 358 attendees = _sceneAttendees[scene];
359 } 359 }
360 360
361 // create XML sniplet
362 StringBuilder list = new StringBuilder();
363 if (0 == attendees.Count)
364 {
365 list.Append("<avatars count=\"0\" region_name=\"{0}\" region_uuid=\"{1}\" timestamp=\"{2}\" />",
366 scene.RegionInfo.RegionName, scene.RegionInfo.RegionID,
367 System.DateTime.UtcNow);
368 }
369 else
370 {
371 list.Append("<avatars count=\"{0}\" region_name=\"{1}\" region_uuid=\"{2}\" timestamp=\"{3}\" />",
372 attendees.Count, scene.RegionInfo.RegionName, scene.RegionInfo.RegionID,
373 System.DateTime.UtcNow);
374
375 }
376
361 // post via REST to broker 377 // post via REST to broker
362 } 378 }
363 379