aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/GridService/GridService.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index e4c3246..842a697 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -648,16 +648,15 @@ namespace OpenSim.Services.GridService
648 private void OutputRegionsToConsoleSummary(List<RegionData> regions) 648 private void OutputRegionsToConsoleSummary(List<RegionData> regions)
649 { 649 {
650 ConsoleDisplayTable dispTable = new ConsoleDisplayTable(); 650 ConsoleDisplayTable dispTable = new ConsoleDisplayTable();
651 dispTable.Columns.Add(new ConsoleDisplayTableColumn("Name", 16)); 651 dispTable.AddColumn("Name", 16);
652 dispTable.Columns.Add(new ConsoleDisplayTableColumn("ID", 36)); 652 dispTable.AddColumn("ID", 36);
653 dispTable.Columns.Add(new ConsoleDisplayTableColumn("Owner ID", 36)); 653 dispTable.AddColumn("Owner ID", 36);
654 dispTable.Columns.Add(new ConsoleDisplayTableColumn("Flags", 60)); 654 dispTable.AddColumn("Flags", 60);
655 655
656 foreach (RegionData r in regions) 656 foreach (RegionData r in regions)
657 { 657 {
658 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]); 658 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]);
659 dispTable.Rows.Add( 659 dispTable.AddRow(r.RegionName, r.RegionID.ToString(), r.Data["owner_uuid"].ToString(), flags.ToString());
660 new ConsoleDisplayTableRow(new List<string> { r.RegionName, r.RegionID.ToString(), r.Data["owner_uuid"].ToString(), flags.ToString() }));
661 } 660 }
662 661
663 MainConsole.Instance.Output(dispTable.ToString()); 662 MainConsole.Instance.Output(dispTable.ToString());