diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-09 00:38:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-09 00:38:48 +0300 |
commit | 62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb (patch) | |
tree | a2bd7aff3faef06f87452dff3daa5f2b2acd15ba /src/net/eathena | |
parent | c6ac11341bd99cbe5eeb4275b9b2473e21338d5e (diff) | |
download | manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.gz manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.bz2 manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.xz manaverse-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.zip |
Fix too long line.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chatrecv.cpp | 4 |
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); |