summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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,