summaryrefslogtreecommitdiff
path: root/modules/commands/hs_list.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/hs_list.cpp
parentcf653fc08429054e5451482166622fc8db8fec1f (diff)
Add missing columns to os_forbid. Make most lists with dates use the shorter output format.
Diffstat (limited to 'modules/commands/hs_list.cpp')
-rw-r--r--modules/commands/hs_list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/hs_list.cpp b/modules/commands/hs_list.cpp
index 5e7b4beb8..e94c67ae2 100644
--- a/modules/commands/hs_list.cpp
+++ b/modules/commands/hs_list.cpp
@@ -78,7 +78,7 @@ class CommandHSList : public Command
else
entry["Vhost"] = na->GetVhostHost();
entry["Creator"] = na->GetVhostCreator();
- entry["Created"] = Anope::strftime(na->GetVhostCreated(), source.GetAccount());
+ entry["Created"] = Anope::strftime(na->GetVhostCreated(), NULL, true);
list.AddEntry(entry);
}
}
@@ -99,7 +99,7 @@ class CommandHSList : public Command
else
entry["Vhost"] = na->GetVhostHost();
entry["Creator"] = na->GetVhostCreator();
- entry["Created"] = Anope::strftime(na->GetVhostCreated(), source.GetAccount());
+ entry["Created"] = Anope::strftime(na->GetVhostCreated(), NULL, true);
list.AddEntry(entry);
}
}