summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 17:43:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 17:43:59 +0300
commit407ef7d44af6cce1b25f6268c2c8b87ed419baf4 (patch)
tree116a94c6ddeb00fee94cee1e8ab37afc410da139 /src/net/tmwa
parentae0cd07c5d94e3696a072bdd9f9aa58223cae75c (diff)
downloadplus-407ef7d44af6cce1b25f6268c2c8b87ed419baf4.tar.gz
plus-407ef7d44af6cce1b25f6268c2c8b87ed419baf4.tar.bz2
plus-407ef7d44af6cce1b25f6268c2c8b87ed419baf4.tar.xz
plus-407ef7d44af6cce1b25f6268c2c8b87ed419baf4.zip
eathena: add packet CMSG_ADMIN_MUTE 0x0149.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp3
-rw-r--r--src/net/tmwa/adminhandler.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 9bb8d80bb..467f75467 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -127,7 +127,8 @@ 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,
+void AdminHandler::mute(const Being *const being A_UNUSED,
+ const int type A_UNUSED,
const int limit A_UNUSED) const
{
return;
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 46b629d6e..417441fb4 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -60,7 +60,7 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler
void recallName(const std::string &name) const override final;
- void mute(const int playerId,
+ void mute(const Being *const being,
const int type,
const int limit) const override final;
};