diff options
Diffstat (limited to 'src/account-server/accountclient.hpp')
-rw-r--r-- | src/account-server/accountclient.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/account-server/accountclient.hpp b/src/account-server/accountclient.hpp index b0bb0c3f..600ec2db 100644 --- a/src/account-server/accountclient.hpp +++ b/src/account-server/accountclient.hpp @@ -69,11 +69,23 @@ class AccountClient : public NetComputer Account *getAccount() const { return mAccount; } + /** + * Update lastLoginAttempt + */ + void updateLoginAttempt(); + + /** + * Returns the time of the last login attempt. + */ + int getLastLoginAttempt() const + { return lastLoginAttempt; } + int status; private: /** Account associated with connection */ Account *mAccount; + time_t lastLoginAttempt; }; #endif |