diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 01:24:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 02:37:10 +0300 |
commit | d8e382e49317adf9717d83509c6975f8958f5043 (patch) | |
tree | 3d25ad19a422932b22a32ee26be6f5ff69d8db4b /src/net/tmwa/chathandler.cpp | |
parent | 8076d645b7a4271b9b5f100f5ea881891fea7d7c (diff) | |
download | manaverse-d8e382e49317adf9717d83509c6975f8958f5043.tar.gz manaverse-d8e382e49317adf9717d83509c6975f8958f5043.tar.bz2 manaverse-d8e382e49317adf9717d83509c6975f8958f5043.tar.xz manaverse-d8e382e49317adf9717d83509c6975f8958f5043.zip |
Remove ServerFeatures haveServerIgnore because it was used only in tmwa.
Diffstat (limited to 'src/net/tmwa/chathandler.cpp')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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 |