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_session.cpp | |
parent | df3c0b7b52066698a97b34edf5352cf344e991ac (diff) |
Translate listformatter properly
Diffstat (limited to 'modules/commands/os_session.cpp')
-rw-r--r-- | modules/commands/os_session.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_session.cpp b/modules/commands/os_session.cpp index 3f1a0c26c..a9c285601 100644 --- a/modules/commands/os_session.cpp +++ b/modules/commands/os_session.cpp @@ -181,7 +181,7 @@ class CommandOSSession : public Command source.Reply(_("Invalid threshold value. It must be a valid integer greater than 1.")); else { - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Session").AddColumn("Host"); for (SessionService::SessionMap::iterator it = session_service->GetSessions().begin(), it_end = session_service->GetSessions().end(); it != it_end; ++it) @@ -527,7 +527,7 @@ class CommandOSException : public Command void DoList(CommandSource &source, const std::vector<Anope::string> ¶ms) { - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Number").AddColumn("Limit").AddColumn("Mask"); this->ProcessList(source, params, list); @@ -535,7 +535,7 @@ class CommandOSException : public Command void DoView(CommandSource &source, const std::vector<Anope::string> ¶ms) { - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Number").AddColumn("Mask").AddColumn("By").AddColumn("Created").AddColumn("Limit").AddColumn("Reason"); this->ProcessList(source, params, list); |