summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 60b93f89e..8013513a1 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -221,6 +221,21 @@ void ChatHandler::unIgnoreAll() const
outMsg.writeInt8(1, "flag");
}
+
+void ChatHandler::ignore(const std::string &nick) const
+{
+ MessageOut outMsg(CMSG_IGNORE_NICK);
+ outMsg.writeString(nick, 24, "nick");
+ outMsg.writeInt8(0, "flag");
+}
+
+void ChatHandler::unIgnore(const std::string &nick) const
+{
+ MessageOut outMsg(CMSG_IGNORE_NICK);
+ outMsg.writeString(nick, 24, "nick");
+ outMsg.writeInt8(1, "flag");
+}
+
void ChatHandler::createChatRoom(const std::string &title,
const std::string &password,
const int limit,