summaryrefslogtreecommitdiff
path: root/modules/commands/ms_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_list.cpp')
-rw-r--r--modules/commands/ms_list.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ms_list.cpp b/modules/commands/ms_list.cpp
index 16db11ddb..c0c04f3f7 100644
--- a/modules/commands/ms_list.cpp
+++ b/modules/commands/ms_list.cpp
@@ -61,7 +61,7 @@ class CommandMSList : public Command
{
ListFormatter list(source.GetAccount());
- list.AddColumn("Number").AddColumn("Sender").AddColumn("Date/Time");
+ list.AddColumn(_("Number")).AddColumn(_("Sender")).AddColumn(_("Date/Time"));
if (!param.empty() && isdigit(param[0]))
{
@@ -85,7 +85,7 @@ class CommandMSList : public Command
ListFormatter::ListEntry entry;
entry["Number"] = (m->unread ? "* " : " ") + stringify(number + 1);
entry["Sender"] = m->sender;
- entry["Date/Time"] = Anope::strftime(m->time);
+ entry["Date/Time"] = Anope::strftime(m->time, source.GetAccount());
this->list.AddEntry(entry);
}
}
@@ -120,7 +120,7 @@ class CommandMSList : public Command
ListFormatter::ListEntry entry;
entry["Number"] = (m->unread ? "* " : " ") + stringify(i + 1);
entry["Sender"] = m->sender;
- entry["Date/Time"] = Anope::strftime(m->time);
+ entry["Date/Time"] = Anope::strftime(m->time, source.GetAccount());
list.AddEntry(entry);
}
}