summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 17:13:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 17:13:43 +0300
commitae0cd07c5d94e3696a072bdd9f9aa58223cae75c (patch)
tree06130d1ec46cbf758620e810163a722db41a1fdd /src/net/tmwa
parentdaffbce63e951a749555c148f213c9e55d746b17 (diff)
downloadmanaplus-ae0cd07c5d94e3696a072bdd9f9aa58223cae75c.tar.gz
manaplus-ae0cd07c5d94e3696a072bdd9f9aa58223cae75c.tar.bz2
manaplus-ae0cd07c5d94e3696a072bdd9f9aa58223cae75c.tar.xz
manaplus-ae0cd07c5d94e3696a072bdd9f9aa58223cae75c.zip
Move mute from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp6
-rw-r--r--src/net/tmwa/adminhandler.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 3c8762f13..9bb8d80bb 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -127,4 +127,10 @@ void AdminHandler::recallName(const std::string &name) const
Net::getChatHandler()->talk("@recall " + name, GENERAL_CHANNEL);
}
+void AdminHandler::mute(const int playerId A_UNUSED, const int type A_UNUSED,
+ const int limit A_UNUSED) const
+{
+ return;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index fe1fb5fc3..46b629d6e 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -59,6 +59,10 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler
void gotoName(const std::string &name) const override final;
void recallName(const std::string &name) const override final;
+
+ void mute(const int playerId,
+ const int type,
+ const int limit) const override final;
};
} // namespace TmwAthena