diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 17:52:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 17:52:30 +0300 |
commit | 64d47f267be567cf259de29982acfed7eb76111e (patch) | |
tree | fcc31af89ea6f833c4bc4eec6a0cb8dc9ca809a2 /src/net/eathena/adminhandler.cpp | |
parent | 407ef7d44af6cce1b25f6268c2c8b87ed419baf4 (diff) | |
download | mv-64d47f267be567cf259de29982acfed7eb76111e.tar.gz mv-64d47f267be567cf259de29982acfed7eb76111e.tar.bz2 mv-64d47f267be567cf259de29982acfed7eb76111e.tar.xz mv-64d47f267be567cf259de29982acfed7eb76111e.zip |
eathena: add packet CMSG_ADMIN_MUTE_NAME 0x0212.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index c4b55def4..d99af7d1e 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -147,4 +147,10 @@ void AdminHandler::mute(const Being *const being, outMsg.writeInt16(limit, "value"); } +void AdminHandler::muteName(const std::string &name) const +{ + MessageOut outMsg(CMSG_ADMIN_MUTE_NAME); + outMsg.writeString(name, 24, "name"); +} + } // namespace EAthena |