summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-09 00:18:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-09 00:18:08 +0300
commitc6ac11341bd99cbe5eeb4275b9b2473e21338d5e (patch)
treebb7589c232ad54bfd037ae016ee0991342ebccfa /src/net/tmwa
parent9f1470325518a8ee5b6c0c2c1254ab4dccac0f63 (diff)
downloadmanaverse-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.gz
manaverse-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.bz2
manaverse-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.xz
manaverse-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chatrecv.cpp6
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);
}