diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-12 00:14:13 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-12 11:02:08 +0000 |
commit | 04e1a4f5c8c4172ca36dd79dfd0731f4aba873a5 (patch) | |
tree | 52caf9828c7fdb497c323b32e00b68b566db325a /modules/protocol/plexus.cpp | |
parent | 1538909ac09a0e84269e36a08da5ae9fce92e8f3 (diff) |
Add a protocol module function for extracting timestamps.
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index a2282276a..77ab81d38 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -306,9 +306,9 @@ struct IRCDMessageUID final if (ip == "0") ip.clear(); - auto ts = Anope::Convert<time_t>(params[2], Anope::CurTime); + auto ts = IRCD->ExtractTimestamp(params[2]); NickAlias *na = NULL; - if (Anope::Convert<time_t>(params[8], 0) == ts) + if (IRCD->ExtractTimestamp(params[8]) == ts) na = NickAlias::Find(params[0]); if (params[8] != "0" && !na) |