aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
index 1eb0a6b..3bf5585 100644
--- a/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
+++ b/OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
@@ -434,24 +434,24 @@ namespace OpenSim.Region.OptionalModules.UDP.Linden
434 scene.ForEachClient( 434 scene.ForEachClient(
435 delegate(IClientAPI client) 435 delegate(IClientAPI client)
436 { 436 {
437 bool isChild = client.SceneAgent.IsChildAgent;
438 if (isChild && !showChildren)
439 return;
440
441 string name = client.Name;
442 if (pname != "" && name != pname)
443 return;
444
445 string regionName = scene.RegionInfo.RegionName;
446
447 report.Append(GetColumnEntry(name, maxNameLength, columnPadding));
448 report.Append(GetColumnEntry(regionName, maxRegionNameLength, columnPadding));
449 report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding));
450
451 if (client is IStatsCollector) 437 if (client is IStatsCollector)
452 { 438 {
453 IStatsCollector stats = (IStatsCollector)client; 439
440 bool isChild = client.SceneAgent.IsChildAgent;
441 if (isChild && !showChildren)
442 return;
454 443
444 string name = client.Name;
445 if (pname != "" && name != pname)
446 return;
447
448 string regionName = scene.RegionInfo.RegionName;
449
450 report.Append(GetColumnEntry(name, maxNameLength, columnPadding));
451 report.Append(GetColumnEntry(regionName, maxRegionNameLength, columnPadding));
452 report.Append(GetColumnEntry(isChild ? "Cd" : "Rt", maxTypeLength, columnPadding));
453
454 IStatsCollector stats = (IStatsCollector)client;
455 report.AppendLine(stats.Report()); 455 report.AppendLine(stats.Report());
456 } 456 }
457 }); 457 });