summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-22 11:25:11 -0400
committerAdam <Adam@anope.org>2013-09-27 19:11:02 -0400
commit80c02740d0a99df96fa40e3f3d5bad4ea2e0e2ae (patch)
treefac80bb223506909a6e90d237e85ae048e1494a0 /modules/commands/cs_access.cpp
parentdf3c0b7b52066698a97b34edf5352cf344e991ac (diff)
Translate listformatter properly
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r--modules/commands/cs_access.cpp8
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();