aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
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)