diff options
Diffstat (limited to 'modules/database/db_atheme.cpp')
-rw-r--r-- | modules/database/db_atheme.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<time_t>(); + auto regtime = row.GetNum<time_t>(); /* 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 |