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_list.cpp | |
parent | df3c0b7b52066698a97b34edf5352cf344e991ac (diff) |
Translate listformatter properly
Diffstat (limited to 'modules/commands/os_list.cpp')
-rw-r--r-- | modules/commands/os_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_list.cpp b/modules/commands/os_list.cpp index e0f8b4645..d73d08eed 100644 --- a/modules/commands/os_list.cpp +++ b/modules/commands/os_list.cpp @@ -38,7 +38,7 @@ class CommandOSChanList : public Command modes.insert("PRIVATE"); } - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Name").AddColumn("Users").AddColumn("Modes").AddColumn("Topic"); if (!pattern.empty() && (u2 = User::Find(pattern, true))) @@ -143,7 +143,7 @@ class CommandOSUserList : public Command if (!opt.empty() && opt.equals_ci("INVISIBLE")) modes.insert("INVIS"); - ListFormatter list; + ListFormatter list(source.GetAccount()); list.AddColumn("Name").AddColumn("Mask"); if (!pattern.empty() && (c = Channel::Find(pattern))) |