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_sxline.cpp | |
parent | df3c0b7b52066698a97b34edf5352cf344e991ac (diff) |
Translate listformatter properly
Diffstat (limited to 'modules/commands/os_sxline.cpp')
-rw-r--r-- | modules/commands/os_sxline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp index 62f81d337..b7e3cfcc3 100644 --- a/modules/commands/os_sxline.cpp +++ b/modules/commands/os_sxline.cpp @@ -183,7 +183,7 @@ class CommandOSSXLineBase : public Command void OnList(CommandSource &source, const std::vector<Anope::string> ¶ms) { - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Number").AddColumn("Mask").AddColumn("Reason"); this->ProcessList(source, params, list); @@ -191,7 +191,7 @@ class CommandOSSXLineBase : public Command void OnView(CommandSource &source, const std::vector<Anope::string> ¶ms) { - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Number").AddColumn("Mask").AddColumn("By").AddColumn("Created").AddColumn("Expires").AddColumn("Reason"); this->ProcessList(source, params, list); } |