1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 10:13:14 +02:00

Translate listformatter properly

This commit is contained in:
Adam
2013-09-22 11:25:11 -04:00
parent df3c0b7b52
commit 80c02740d0
30 changed files with 53 additions and 43 deletions
+2 -2
View File
@@ -213,7 +213,7 @@ class CommandOSDNS : public Command
return;
}
ListFormatter lf;
ListFormatter lf(source.GetAccount());
lf.AddColumn("Server").AddColumn("IP").AddColumn("Limit").AddColumn("State");
for (unsigned i = 0; i < dns_servers->size(); ++i)
{
@@ -249,7 +249,7 @@ class CommandOSDNS : public Command
if (!zones->empty())
{
ListFormatter lf2;
ListFormatter lf2(source.GetAccount());
lf2.AddColumn("Zone").AddColumn("Servers");
for (unsigned i = 0; i < zones->size(); ++i)