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. --- include/account.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/account.h b/include/account.h index 9a862c3b1..9a59cb913 100644 --- a/include/account.h +++ b/include/account.h @@ -128,6 +128,8 @@ public: Anope::string email; /* Locale name of the language of the user. Empty means default language */ Anope::string language; + /* Last time an email was sent to this user */ + time_t lastmail = 0; MemoInfo memos; std::map last_modes; @@ -143,8 +145,6 @@ public: /* Number of channels registered by this account */ uint16_t channelcount = 0; - /* Last time an email was sent to this user */ - time_t lastmail = 0; /* Users online now logged into this account */ std::list users; -- cgit