summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/loginhandler.h')
-rw-r--r--src/net/eathena/loginhandler.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h
index f7c136e39..d8556af63 100644
--- a/src/net/eathena/loginhandler.h
+++ b/src/net/eathena/loginhandler.h
@@ -43,25 +43,26 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler
~LoginHandler();
- void handleMessage(Net::MessageIn &msg) override;
+ void handleMessage(Net::MessageIn &msg) override final;
- void connect() override;
+ void connect() override final;
- bool isConnected() const override A_WARN_UNUSED;
+ bool isConnected() const override final A_WARN_UNUSED;
- void disconnect() override;
+ void disconnect() override final;
- int supportedOptionalActions() const override A_WARN_UNUSED
+ int supportedOptionalActions() const override final A_WARN_UNUSED
{ return SetGenderOnRegister; }
- unsigned int getMaxPasswordLength() const override A_WARN_UNUSED
+ unsigned int getMaxPasswordLength() const override final A_WARN_UNUSED
{ return 24; }
void changePassword(const std::string &username,
const std::string &oldPassword,
- const std::string &newPassword) const override;
+ const std::string &newPassword)
+ const override final;
- ServerInfo *getCharServer() const override A_WARN_UNUSED;
+ ServerInfo *getCharServer() const override final A_WARN_UNUSED;
void processServerVersion(Net::MessageIn &msg);
@@ -72,7 +73,7 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler
private:
void sendLoginRegister(const std::string &username,
const std::string &password,
- const std::string &email) const override;
+ const std::string &email) const override final;
};
} // namespace EAthena