summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-02 23:30:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:56 +0300
commit19f03b283367a95e3ffb7ef63049fd2992352aab (patch)
treeb1374f28350cb123a0159c87d1c5aecd147eac69 /src/net/eathena/chathandler.cpp
parentf32c27a3446fc8312a7fd4f9a85b60720549582a (diff)
downloadplus-19f03b283367a95e3ffb7ef63049fd2992352aab.tar.gz
plus-19f03b283367a95e3ffb7ef63049fd2992352aab.tar.bz2
plus-19f03b283367a95e3ffb7ef63049fd2992352aab.tar.xz
plus-19f03b283367a95e3ffb7ef63049fd2992352aab.zip
fix compilation warnings
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index e94bbe874..1a5006166 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -300,7 +300,7 @@ void ChatHandler::processChat(Net::MessageIn &msg)
if (localPlayer)
{
- if (chatWindow || mShowMotd)
+ if ((chatWindow || mShowMotd) && allow)
localPlayer->setSpeech(chatMsg, GENERAL_CHANNEL);
}
}