aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-11 11:12:04 +0100
committerGravatar Sadie Powell2022-10-11 11:12:04 +0100
commit41d131285318dde95aea16291bcca915b2174e30 (patch)
tree5b22a78c59cbfcaa94eda09889792a2ee3236058 /src/users.cpp
parentFix serializing attributes in httpd_stats. (diff)
Rename User::age to User::nickchanged and fix the docs.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
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)