summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-06 19:18:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-06 19:18:08 +0000
commitf9110f02e7483530d46eb892999d09edb131ec7f (patch)
treee887d5cf65cf8c7e8667b6db15559a9b00c484b2 /include
parent578f32db3ca4c05763d0eb6d9b5198e677b6f200 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h4
1 files changed, 4 insertions, 0 deletions
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,