summaryrefslogtreecommitdiff
path: root/modules/commands/bs_badwords.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/bs_badwords.cpp
parentdf3c0b7b52066698a97b34edf5352cf344e991ac (diff)
Translate listformatter properly
Diffstat (limited to 'modules/commands/bs_badwords.cpp')
-rw-r--r--modules/commands/bs_badwords.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/bs_badwords.cpp b/modules/commands/bs_badwords.cpp
index b64ed9b59..b654ae12f 100644
--- a/modules/commands/bs_badwords.cpp
+++ b/modules/commands/bs_badwords.cpp
@@ -187,7 +187,7 @@ class CommandBSBadwords : public Command
{
bool override = !source.AccessFor(ci).HasPriv("BADWORDS");
Log(override ? LOG_OVERRIDE : LOG_COMMAND, source, this, ci) << "LIST";
- ListFormatter list;
+ ListFormatter list(source.GetAccount());
BadWords *bw = ci->GetExt<BadWords>("badwords");
list.AddColumn("Number").AddColumn("Word").AddColumn("Type");