summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 16:56:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 16:56:35 +0300
commiteb1925b3840c38d48a0704799f0f2027b3b414b8 (patch)
tree6fa2277452c0bd8a0e55221202ebcc1a81415e09 /src/net/tmwa
parentea71948915fdfd9e658808a049283cf09a2b1694 (diff)
downloadManaVerse-eb1925b3840c38d48a0704799f0f2027b3b414b8.tar.gz
ManaVerse-eb1925b3840c38d48a0704799f0f2027b3b414b8.tar.bz2
ManaVerse-eb1925b3840c38d48a0704799f0f2027b3b414b8.tar.xz
ManaVerse-eb1925b3840c38d48a0704799f0f2027b3b414b8.zip
Move recallName from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp5
-rw-r--r--src/net/tmwa/adminhandler.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index f24b05b24..3c8762f13 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -122,4 +122,9 @@ void AdminHandler::gotoName(const std::string &name) const
Net::getChatHandler()->talk("@goto " + name, GENERAL_CHANNEL);
}
+void AdminHandler::recallName(const std::string &name) const
+{
+ Net::getChatHandler()->talk("@recall " + name, GENERAL_CHANNEL);
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 5b277bf62..fe1fb5fc3 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -57,6 +57,8 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler
void resetSkills() const override final;
void gotoName(const std::string &name) const override final;
+
+ void recallName(const std::string &name) const override final;
};
} // namespace TmwAthena