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/guildmanager.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/guildmanager.cpp')
-rw-r--r-- | src/net/tmwa/guildmanager.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp index 5484f1b51..df73a6c40 100644 --- a/src/net/tmwa/guildmanager.cpp +++ b/src/net/tmwa/guildmanager.cpp @@ -448,7 +448,10 @@ bool GuildManager::process(std::string msg) const std::string sender_name = msg.substr(0, pos); if (guild->getMember(sender_name) == nullptr) { - mTab->chatLog(msg, ChatMsgType::BY_SERVER); + mTab->chatLog(msg, + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); return true; } @@ -461,7 +464,10 @@ bool GuildManager::process(std::string msg) } else { - mTab->chatLog(msg, ChatMsgType::BY_SERVER); + mTab->chatLog(msg, + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } return true; } |