summaryrefslogtreecommitdiff
path: root/src/net/tmwa/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 16:48:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 16:48:18 +0300
commitdf22a0dfb16eeeadb90ef9944c97b5d49303a306 (patch)
treef93b396aa697c4ae29d63886656185af7c203a61 /src/net/tmwa/adminhandler.cpp
parent06b7293d0f6b5dab909f108ce9dd38488d8ac48b (diff)
downloadplus-df22a0dfb16eeeadb90ef9944c97b5d49303a306.tar.gz
plus-df22a0dfb16eeeadb90ef9944c97b5d49303a306.tar.bz2
plus-df22a0dfb16eeeadb90ef9944c97b5d49303a306.tar.xz
plus-df22a0dfb16eeeadb90ef9944c97b5d49303a306.zip
Move gotoName from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa/adminhandler.cpp')
-rw-r--r--src/net/tmwa/adminhandler.cpp5
1 files changed, 5 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