diff options
| author | 2022-10-11 11:12:04 +0100 | |
|---|---|---|
| committer | 2022-10-11 11:12:04 +0100 | |
| commit | 41d131285318dde95aea16291bcca915b2174e30 (patch) | |
| tree | 5b22a78c59cbfcaa94eda09889792a2ee3236058 /src/modules/m_spanningtree/save.cpp | |
| parent | Fix serializing attributes in httpd_stats. (diff) | |
Rename User::age to User::nickchanged and fix the docs.
Diffstat (limited to 'src/modules/m_spanningtree/save.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/save.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/save.cpp b/src/modules/m_spanningtree/save.cpp index a55f164dd..4dd2a45de 100644 --- a/src/modules/m_spanningtree/save.cpp +++ b/src/modules/m_spanningtree/save.cpp @@ -37,7 +37,7 @@ CmdResult CommandSave::Handle(User* user, Params& params) return CmdResult::FAILURE; time_t ts = ServerCommand::ExtractTS(params[1]); - if (u->age == ts) + if (u->nickchanged == ts) u->ChangeNick(u->uuid, SavedTimestamp); return CmdResult::SUCCESS; |
