1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 14:13:14 +02:00

Translate listformatter properly

This commit is contained in:
Adam
2013-09-22 11:25:11 -04:00
parent df3c0b7b52
commit 80c02740d0
30 changed files with 53 additions and 43 deletions
+2 -2
View File
@@ -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)))