1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 00:46:38 +02:00

Add a protocol module function for extracting timestamps.

This commit is contained in:
Sadie Powell
2024-03-12 00:14:13 +00:00
parent 1538909ac0
commit 04e1a4f5c8
9 changed files with 44 additions and 31 deletions
+3
View File
@@ -120,6 +120,9 @@ public:
virtual Anope::string UID_Retrieve();
virtual Anope::string SID_Retrieve();
/** Extracts a timestamp from a string. */
virtual time_t ExtractTimestamp(const Anope::string &str);
/** Sends an error to the uplink before disconnecting.
* @param reason The error message.
*/