From 9b72b2760e333e92877ec1e4d002fec6e612ad0e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jul 2010 23:54:39 +0300 Subject: Fix whispers. Fix receiving whisper message if option whisper in tabs disabled. Signed-off-by: Jared Adams --- src/gui/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2