From d8e382e49317adf9717d83509c6975f8958f5043 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 01:24:21 +0300 Subject: Remove ServerFeatures haveServerIgnore because it was used only in tmwa. --- src/net/tmwa/chathandler.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/net/tmwa/chathandler.cpp') diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index 2abebf211..94bfa748c 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -180,18 +180,10 @@ void ChatHandler::processRaw(MessageOut &restrict outMsg, void ChatHandler::ignoreAll() const { - if (!serverFeatures->haveServerIgnore()) - return; - createOutPacket(CMSG_IGNORE_ALL); - outMsg.writeInt8(0, "flag"); } void ChatHandler::unIgnoreAll() const { - if (!serverFeatures->haveServerIgnore()) - return; - createOutPacket(CMSG_IGNORE_ALL); - outMsg.writeInt8(1, "flag"); } void ChatHandler::ignore(const std::string &nick) const -- cgit v1.2.3-70-g09d2