diff options
| author | 2021-09-10 13:09:02 +0100 | |
|---|---|---|
| committer | 2021-09-10 13:09:02 +0100 | |
| commit | bec93a9ab8eff6df9f9180a108b29d59f0ad1d27 (patch) | |
| tree | 77b570a7b2235839b8e386adaaca101339cc0d56 /src/modules/m_spanningtree/save.cpp | |
| parent | Add the FRHOST command to allow changing a remote user's real host. (diff) | |
Always use ExtractTS to extract timestamps from S2S messages.
Diffstat (limited to 'src/modules/m_spanningtree/save.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/save.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp index aa3cddcc7..66c9797cd 100644 --- a/src/modules/m_spanningtree/save.cpp +++ b/src/modules/m_spanningtree/save.cpp @@ -36,8 +36,7 @@ CmdResult CommandSave::Handle(User* user, Params& params) if (!u) return CmdResult::FAILURE; - time_t ts = ConvToNum<time_t>(params[1]); - + time_t ts = ServerCommand::ExtractTS(params[1]); if (u->age == ts) u->ChangeNick(u->uuid, SavedTimestamp); |
