summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp6
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