diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-09 00:18:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-09 00:18:08 +0300 |
commit | c6ac11341bd99cbe5eeb4275b9b2473e21338d5e (patch) | |
tree | bb7589c232ad54bfd037ae016ee0991342ebccfa /src/net/tmwa/chatrecv.cpp | |
parent | 9f1470325518a8ee5b6c0c2c1254ab4dccac0f63 (diff) | |
download | manaplus-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.gz manaplus-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.bz2 manaplus-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.xz manaplus-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa/chatrecv.cpp')
-rw-r--r-- | src/net/tmwa/chatrecv.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwa/chatrecv.cpp b/src/net/tmwa/chatrecv.cpp index 116674c53..0d90a6f99 100644 --- a/src/net/tmwa/chatrecv.cpp +++ b/src/net/tmwa/chatrecv.cpp @@ -251,8 +251,10 @@ void ChatRecv::processWhisperContinue(const std::string &nick, } else { - if ((chatWindow != nullptr) && (showMsg || (chatMsg.find("!selllist") != 0 - && chatMsg.find("!buylist") != 0))) + if (chatWindow != nullptr && + (showMsg || + (chatMsg.find("!selllist") != 0 && + chatMsg.find("!buylist") != 0))) { chatWindow->addWhisper(nick, chatMsg); } |