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 | |
parent | c6ac11341bd99cbe5eeb4275b9b2473e21338d5e (diff) | |
download | manaplus-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.gz manaplus-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.bz2 manaplus-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.tar.xz manaplus-62b9654f2bde378c4f25e721c78d5bbb1d0bc8cb.zip |
Fix too long line.
Diffstat (limited to 'src/net')
-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); |