From 4008e64f26531383029cdb747b456d515d367ad6 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 11 May 2024 17:33:42 +0100 Subject: Store when the account name was registered in the NickCore. --- modules/database/db_atheme.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/database') diff --git a/modules/database/db_atheme.cpp b/modules/database/db_atheme.cpp index 60870f7a7..ee1d390c2 100644 --- a/modules/database/db_atheme.cpp +++ b/modules/database/db_atheme.cpp @@ -1131,7 +1131,7 @@ private: auto display = row.Get(); auto pass = row.Get(); auto email = row.Get(); - /* auto regtime = */ row.GetNum(); + auto regtime = row.GetNum(); /* auto lastlogin = */ row.Get(); auto flags = row.Get(); auto language = row.Get(); @@ -1141,6 +1141,7 @@ private: auto *nc = new NickCore(display); nc->email = email; + nc->time_registered = regtime; ApplyPassword(nc, flags, pass); // No equivalent: bglmNQrS -- cgit