diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/adminhandler.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index a227652be..f24b05b24 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -117,4 +117,9 @@ void AdminHandler::resetSkills() const { } +void AdminHandler::gotoName(const std::string &name) const +{ + Net::getChatHandler()->talk("@goto " + name, GENERAL_CHANNEL); +} + } // namespace TmwAthena diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index ac11e7c34..5b277bf62 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -55,6 +55,8 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler void resetStats() const override final; void resetSkills() const override final; + + void gotoName(const std::string &name) const override final; }; } // namespace TmwAthena |