diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-11 19:10:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-11 19:10:19 +0300 |
commit | ee1fc0b63cb7f27df85c43474497b805df6e31f5 (patch) | |
tree | d233f17e1bfd751b6939646a24f1253ae8d14796 /src/net/tmwa/chatrecv.cpp | |
parent | a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451 (diff) | |
download | manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.gz manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.bz2 manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.xz manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.zip |
Remove default parameters from ChatTab::chatLog.
Diffstat (limited to 'src/net/tmwa/chatrecv.cpp')
-rw-r--r-- | src/net/tmwa/chatrecv.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/net/tmwa/chatrecv.cpp b/src/net/tmwa/chatrecv.cpp index afa501004..a23dc92a4 100644 --- a/src/net/tmwa/chatrecv.cpp +++ b/src/net/tmwa/chatrecv.cpp @@ -272,7 +272,10 @@ void ChatRecv::processWhisperContinue(const std::string &nick, const size_t pos = chatMsg.find(": ", 0); if (pos == std::string::npos) { - gmChatTab->chatLog(chatMsg, ChatMsgType::BY_SERVER); + gmChatTab->chatLog(chatMsg, + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } else { @@ -282,7 +285,10 @@ void ChatRecv::processWhisperContinue(const std::string &nick, } else { - localChatTab->chatLog(chatMsg, ChatMsgType::BY_SERVER); + localChatTab->chatLog(chatMsg, + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } } BLOCK_END("ChatRecv::processWhisper") @@ -371,7 +377,10 @@ void ChatRecv::processScriptMessage(Net::MessageIn &msg) const int sz = msg.readInt16("len") - 5; msg.readUInt8("message type"); const std::string message = msg.readString(sz, "message"); - localChatTab->chatLog(message, ChatMsgType::BY_SERVER); + localChatTab->chatLog(message, + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } } // namespace TmwAthena |