mirror of
https://github.com/anope/anope.git
synced 2026-06-25 13:46:38 +02:00
Add a protocol module function for extracting timestamps.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user