summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-17 21:41:30 -0400
committerAdam <Adam@anope.org>2011-08-17 21:41:30 -0400
commitf41081ba51e81af82f4558aa4663f4d52f0819c4 (patch)
tree2dc6179c01d4f027ef27ff50cf05f6e43915e8d4 /modules/commands/cs_access.cpp
parentede910d6556ce848ce942176034b00ced16976df (diff)
Include when an access entry was created in access view
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r--modules/commands/cs_access.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index d03f165f8..7f62610ef 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -213,10 +213,10 @@ class AccessViewCallback : public AccessListCallback
if (access->last_seen == 0)
timebuf = "Never";
else
- timebuf = do_strftime(access->last_seen);
+ timebuf = do_strftime(access->last_seen, NULL, true);
}
- source.Reply(CHAN_ACCESS_VIEW_AXS_FORMAT, Number + 1, AccessChanAccess::DetermineLevel(access), access->mask.c_str(), access->creator.c_str(), timebuf.c_str());
+ source.Reply(CHAN_ACCESS_VIEW_AXS_FORMAT, Number + 1, AccessChanAccess::DetermineLevel(access), access->mask.c_str(), access->creator.c_str(), do_strftime(access->created, NULL, true).c_str(), timebuf.c_str());
}
};