summaryrefslogtreecommitdiff
path: root/modules/commands/os_news.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-09-24 06:04:59 +0200
committerAdam <Adam@anope.org>2013-09-27 19:11:02 -0400
commit12a0311aaa783385bba3194e92ed0eb4665621ed (patch)
tree11ed0b90d0a6454a7d87cbdee137c7438ab21064 /modules/commands/os_news.cpp
parentcf653fc08429054e5451482166622fc8db8fec1f (diff)
Add missing columns to os_forbid. Make most lists with dates use the shorter output format.
Diffstat (limited to 'modules/commands/os_news.cpp')
-rw-r--r--modules/commands/os_news.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_news.cpp b/modules/commands/os_news.cpp
index e12777d02..8fb4cc4f7 100644
--- a/modules/commands/os_news.cpp
+++ b/modules/commands/os_news.cpp
@@ -121,7 +121,7 @@ class NewsBase : public Command
ListFormatter::ListEntry entry;
entry["Number"] = stringify(i + 1);
entry["Creator"] = list[i]->who;
- entry["Created"] = Anope::strftime(list[i]->time, source.GetAccount());
+ entry["Created"] = Anope::strftime(list[i]->time, NULL, true);
entry["Text"] = list[i]->text;
lflist.AddEntry(entry);
}