summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-07-08 23:54:39 +0300
committerJared Adams <jaxad0127@gmail.com>2010-07-08 15:07:19 -0600
commit9b72b2760e333e92877ec1e4d002fec6e612ad0e (patch)
tree306c53d0889b39a2537b8ee56337a1dfd77c0af0 /src
parent27efdd9a80c7d068f27db8725c2315fee3e10303 (diff)
downloadmana-client-9b72b2760e333e92877ec1e4d002fec6e612ad0e.tar.gz
mana-client-9b72b2760e333e92877ec1e4d002fec6e612ad0e.tar.bz2
mana-client-9b72b2760e333e92877ec1e4d002fec6e612ad0e.tar.xz
mana-client-9b72b2760e333e92877ec1e4d002fec6e612ad0e.zip
Fix whispers.
Fix receiving whisper message if option whisper in tabs disabled. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 9842e1f4..f11f23ef 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -471,7 +471,7 @@ void ChatWindow::whisper(const std::string &nick,
}
else
{
- if (own)
+ if (own == BY_PLAYER)
{
Net::getChatHandler()->privateMessage(nick, mes);