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/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index f4a090f58..f2a51a8f6 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -88,7 +88,7 @@ std::string User::GetModeLetters(bool includeparams) const User::User(const std::string& uid, Server* srv, Type type) : Extensible(ExtensionType::USER) - , age(ServerInstance->Time()) + , nickchanged(ServerInstance->Time()) , uuid(uid) , server(srv) , registered(REG_NONE) @@ -640,7 +640,7 @@ bool User::ChangeNick(const std::string& newnick, time_t newts) } } - age = newts ? newts : ServerInstance->Time(); + nickchanged = newts ? newts : ServerInstance->Time(); } if (this->registered == REG_ALL) -- cgit v1.3.1-10-gc9f91