diff options
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h index aeac6a069..f89df0ab1 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -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. */ |