From abeebcba08ff2abc2993657b9043543223dce3d1 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 13 Feb 2024 11:50:48 +0100 Subject: Removed no longer supported admin messages * Removed /announce command * Changed "Kick player" in player pop-up to kick by name Other messages, like CMSG_ADMIN_HIDE, CMSG_ADMIN_MUTE and CMSG_ADMIN_LOCAL_ANNOUNCE were already not used by the client. Also, none of this was implemented for Manaserv. --- src/net/manaserv/adminhandler.cpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'src/net/manaserv/adminhandler.cpp') diff --git a/src/net/manaserv/adminhandler.cpp b/src/net/manaserv/adminhandler.cpp index 8928a33d..8ba7c47d 100644 --- a/src/net/manaserv/adminhandler.cpp +++ b/src/net/manaserv/adminhandler.cpp @@ -46,54 +46,19 @@ void AdminHandler::handleMessage(MessageIn &msg) } -void AdminHandler::announce(const std::string &text) -{ - // TODO send warning about using @announce instead -} - -void AdminHandler::localAnnounce(const std::string &text) -{ - // TODO add @command for this -} - -void AdminHandler::hide(bool hide) -{ - // TODO -} - -void AdminHandler::kick(int playerId) -{ - // TODO -} - void AdminHandler::kick(const std::string &name) { // TODO } -void AdminHandler::ban(int playerId) -{ - // TODO -} - void AdminHandler::ban(const std::string &name) { // TODO } -void AdminHandler::unban(int playerId) -{ - // TODO -} - void AdminHandler::unban(const std::string &name) { // TODO } -void AdminHandler::mute(int playerId, int type, int limit) -{ - // TODO -} - } // namespace ManaServ -- cgit v1.2.3-70-g09d2