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/main.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/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index cc5a559ff..55ca9ee62 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -626,12 +626,12 @@ void ModuleSpanningTree::OnUserPostNick(User* user, const std::string& oldnick) // The nick TS is updated by the core, we don't do it CmdBuilder params(user, "NICK"); params.push(user->nick); - params.push(ConvToStr(user->age)); + params.push(ConvToStr(user->nickchanged)); params.Broadcast(); } else if (!loopCall) { - ServerInstance->Logs.Normal(MODNAME, "WARNING: Changed nick of remote user %s from %s to %s TS %lu by ourselves!", user->uuid.c_str(), oldnick.c_str(), user->nick.c_str(), (unsigned long) user->age); + ServerInstance->Logs.Normal(MODNAME, "WARNING: Changed nick of remote user %s from %s to %s TS %lu by ourselves!", user->uuid.c_str(), oldnick.c_str(), user->nick.c_str(), (unsigned long) user->nickchanged); } } |
