From 9ead3f15c3256786d3c2b485a786ad32faa0a438 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 9 Mar 2024 13:14:57 +0000 Subject: Save the last email time for accounts. --- src/nickcore.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/nickcore.cpp b/src/nickcore.cpp index c60a238b4..ae9e15334 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -73,6 +73,7 @@ void NickCore::Serialize(Serialize::Data &data) const data["pass"] << this->pass; data["email"] << this->email; data["language"] << this->language; + data["lastmail"] << this->lastmail; data["memomax"] << this->memos.memomax; for (const auto &ignore : this->memos.ignores) data["memoignores"] << ignore << " "; @@ -97,6 +98,7 @@ Serializable *NickCore::Unserialize(Serializable *obj, Serialize::Data &data) data["pass"] >> nc->pass; data["email"] >> nc->email; data["language"] >> nc->language; + data["lastmail"] >> nc->lastmail; data["memomax"] >> nc->memos.memomax; { Anope::string buf; -- cgit