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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user