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 /modules/nickserv/main/account.cpp | |
| parent | 2a886acbedb6b6386dbff3e591b0d4035d516b2a (diff) | |
Move nc->lastmail to a field
Diffstat (limited to 'modules/nickserv/main/account.cpp')
| -rw-r--r-- | modules/nickserv/main/account.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/nickserv/main/account.cpp b/modules/nickserv/main/account.cpp index 86c96b14f..9200bc1f7 100644 --- a/modules/nickserv/main/account.cpp +++ b/modules/nickserv/main/account.cpp @@ -314,3 +314,12 @@ unsigned int AccountImpl::GetChannelCount() return i; } +time_t AccountImpl::GetLastMail() +{ + return Get(&AccountType::last_mail); +} + +void AccountImpl::SetLastMail(time_t lastmail) +{ + Set(&AccountType::last_mail, lastmail); +} |
