summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv')
-rw-r--r--src/net/manaserv/adminhandler.cpp35
-rw-r--r--src/net/manaserv/adminhandler.h14
2 files changed, 0 insertions, 49 deletions
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
diff --git a/src/net/manaserv/adminhandler.h b/src/net/manaserv/adminhandler.h
index 1edcf6b6..e3bd02e0 100644
--- a/src/net/manaserv/adminhandler.h
+++ b/src/net/manaserv/adminhandler.h
@@ -35,25 +35,11 @@ class AdminHandler : public Net::AdminHandler, public MessageHandler
void handleMessage(MessageIn &msg) override;
- void announce(const std::string &text) override;
-
- void localAnnounce(const std::string &text) override;
-
- void hide(bool hide) override;
-
- void kick(int playerId) override;
-
void kick(const std::string &name) override;
- void ban(int playerId) override;
-
void ban(const std::string &name) override;
- void unban(int playerId) override;
-
void unban(const std::string &name) override;
-
- void mute(int playerId, int type, int limit) override;
};
} // namespace ManaServ