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/away.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/away.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/away.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/away.cpp b/src/modules/m_spanningtree/away.cpp index 2baa89431..0fedd53e7 100644 --- a/src/modules/m_spanningtree/away.cpp +++ b/src/modules/m_spanningtree/away.cpp @@ -34,7 +34,7 @@ CmdResult CommandAway::HandleRemote(::RemoteUser* u, Params& params) if (!params.empty()) { if (params.size() > 1) - u->awaytime = ConvToNum<time_t>(params[0]); + u->awaytime = ServerCommand::ExtractTS(params[0]); else u->awaytime = ServerInstance->Time(); |
