From 41d131285318dde95aea16291bcca915b2174e30 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 11 Oct 2022 11:12:04 +0100 Subject: Rename User::age to User::nickchanged and fix the docs. --- src/modules/m_spanningtree/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/main.cpp') 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); } } -- cgit v1.3.1-10-gc9f91