summaryrefslogtreecommitdiff
path: root/src/net/tmwa/adminhandler.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
commit5afe88df2538274859a162ffd63ed52118e80c19 (patch)
treeb610dfd58dc748fd63f49565b2a43eea2316714f /src/net/tmwa/adminhandler.h
parent73ba2a95f5bd4a0dd09af52d5864800be2b0a4c6 (diff)
downloadmana-5afe88df2538274859a162ffd63ed52118e80c19.tar.gz
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.bz2
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.xz
mana-5afe88df2538274859a162ffd63ed52118e80c19.zip
Apply C++11 fixits
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
Diffstat (limited to 'src/net/tmwa/adminhandler.h')
-rw-r--r--src/net/tmwa/adminhandler.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 71c37a09..f91a093d 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -34,27 +34,27 @@ class AdminHandler : public MessageHandler, public Net::AdminHandler
public:
AdminHandler();
- void handleMessage(MessageIn &msg);
+ void handleMessage(MessageIn &msg) override;
- void announce(const std::string &text);
+ void announce(const std::string &text) override;
- void localAnnounce(const std::string &text);
+ void localAnnounce(const std::string &text) override;
- void hide(bool hide);
+ void hide(bool hide) override;
- void kick(int playerId);
+ void kick(int playerId) override;
- void kick(const std::string &name);
+ void kick(const std::string &name) override;
- void ban(int playerId);
+ void ban(int playerId) override;
- void ban(const std::string &name);
+ void ban(const std::string &name) override;
- void unban(int playerId);
+ void unban(int playerId) override;
- void unban(const std::string &name);
+ void unban(const std::string &name) override;
- void mute(int playerId, int type, int limit);
+ void mute(int playerId, int type, int limit) override;
};
} // namespace TmwAthena