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/cs_access.cpp | |
parent | df3c0b7b52066698a97b34edf5352cf344e991ac (diff) |
Translate listformatter properly
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r-- | modules/commands/cs_access.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<Privilege> &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<Privilege> &privs = PrivilegeManager::GetPrivileges(); |