diff options
author | Adam <Adam@anope.org> | 2017-04-06 11:20:06 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-04-06 11:20:06 -0400 |
commit | 805ea3869c33889de3695c580b85e10d9a4bc147 (patch) | |
tree | 50fc994ac99611762bd77d6d10fe88a40e058be0 /include | |
parent | 2a886acbedb6b6386dbff3e591b0d4035d516b2a (diff) |
Move nc->lastmail to a field
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/nickserv/account.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/nickserv/account.h b/include/modules/nickserv/account.h index ebe1061b6..8dc5ad7c8 100644 --- a/include/modules/nickserv/account.h +++ b/include/modules/nickserv/account.h @@ -30,9 +30,6 @@ class CoreExport Account : public Serialize::Object public: static constexpr const char *const NAME = "account"; -#warning "move lastmail to a field" - /* Last time an email was sent to this user */ - time_t lastmail = 0; /* Users online now logged into this account */ std::vector<User *> users; @@ -120,6 +117,9 @@ class CoreExport Account : public Serialize::Object virtual MemoServ::MemoInfo *GetMemos() anope_abstract; virtual unsigned int GetChannelCount() anope_abstract; + + virtual time_t GetLastMail() anope_abstract; + virtual void SetLastMail(time_t) anope_abstract; }; } // namespace NickServ |