diff options
author | Adam <Adam@anope.org> | 2013-09-22 11:25:11 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 19:11:02 -0400 |
commit | 80c02740d0a99df96fa40e3f3d5bad4ea2e0e2ae (patch) | |
tree | fac80bb223506909a6e90d237e85ae048e1494a0 /modules/commands/os_dns.cpp | |
parent | df3c0b7b52066698a97b34edf5352cf344e991ac (diff) |
Translate listformatter properly
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r-- | modules/commands/os_dns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index ee651f702..4d31aeb5a 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -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) |