diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-09 13:14:57 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-09 22:22:55 +0000 |
commit | 9ead3f15c3256786d3c2b485a786ad32faa0a438 (patch) | |
tree | 38840b28d8becbd531da0f4c889e9de5ffab30b0 /src | |
parent | 272104af957b3dc38c11137d6c1e63f86e2cf64c (diff) |
Save the last email time for accounts.
Diffstat (limited to 'src')
-rw-r--r-- | src/nickcore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |