From 80c02740d0a99df96fa40e3f3d5bad4ea2e0e2ae Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 22 Sep 2013 11:25:11 -0400 Subject: Translate listformatter properly --- modules/commands/cs_access.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/commands/cs_access.cpp') diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index b0419e1e2..414704722 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -425,7 +425,7 @@ class CommandCSAccess : public Command return; } - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Number").AddColumn("Level").AddColumn("Mask"); this->ProcessList(source, ci, params, list); } @@ -438,7 +438,7 @@ class CommandCSAccess : public Command return; } - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Number").AddColumn("Level").AddColumn("Mask").AddColumn("By").AddColumn("Last seen"); this->ProcessList(source, ci, params, list); } @@ -660,7 +660,7 @@ class CommandCSLevels : public Command { source.Reply(_("Access level settings for channel %s:"), ci->name.c_str()); - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Name").AddColumn("Level"); const std::vector &privs = PrivilegeManager::GetPrivileges(); @@ -754,7 +754,7 @@ class CommandCSLevels : public Command { source.Reply(_("The following feature/function names are available:")); - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Name").AddColumn("Description"); const std::vector &privs = PrivilegeManager::GetPrivileges(); -- cgit