summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-05-11 17:33:42 +0100
committerSadie Powell <sadie@witchery.services>2024-05-11 17:40:38 +0100
commit4008e64f26531383029cdb747b456d515d367ad6 (patch)
treedd76b234ef043f1594ae965c9812eae0eb1d2ae7 /include
parent1cf5918574468c04c93f588b63b3531ea5768a89 (diff)
Store when the account name was registered in the NickCore.
Diffstat (limited to 'include')
-rw-r--r--include/account.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/account.h b/include/account.h
index fcc715135..b6a69cfcf 100644
--- a/include/account.h
+++ b/include/account.h
@@ -130,6 +130,8 @@ public:
Anope::string language;
/* Last time an email was sent to this user */
time_t lastmail = 0;
+ /* The time this account was registered */
+ time_t time_registered = Anope::CurTime;
MemoInfo memos;
std::map<Anope::string, Anope::string> last_modes;