From f9110f02e7483530d46eb892999d09edb131ec7f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 6 Apr 2007 19:18:08 +0000 Subject: We had to roll our own time function because some craqsmoker thought having a carriage return on the end of ctime and asctime was a great idea, and the only other solution is to fanny around with strftime. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 293a3ba42..bfd2ea421 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -1241,6 +1241,10 @@ class InspIRCd : public classbase */ void ResetMaxBans(); + /** Return a time_t as a human-readable string. + */ + std::string TimeString(time_t curtime); + /** Begin execution of the server. * NOTE: this function NEVER returns. Internally, * after performing some initialisation routines, -- cgit v1.3.1-10-gc9f91