summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-09 00:38:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-09 00:38:48 +0300
commit62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb (patch)
treea2bd7aff3faef06f87452dff3daa5f2b2acd15ba /src
parentc6ac11341bd99cbe5eeb4275b9b2473e21338d5e (diff)
downloadmanaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.gz
manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.bz2
manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.xz
manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.zip
Fix too long line.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/chatrecv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp
index 4c6fea1d7..36bcc5bfe 100644
--- a/src/net/eathena/chatrecv.cpp
+++ b/src/net/eathena/chatrecv.cpp
@@ -548,7 +548,9 @@ void ChatRecv::processBeingChat(Net::MessageIn &msg)
TryRemoveColors_true);
}
- if (allow && (being != nullptr) && player_relations.hasPermission(sender_name,
+ if (allow &&
+ being != nullptr &&
+ player_relations.hasPermission(sender_name,
PlayerRelation::SPEECH_FLOAT))
{
being->setSpeech(chatMsg, GENERAL_CHANNEL);