summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 8965ec70..d53bcf0a 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -456,9 +456,14 @@ void ChatWindow::whisper(const std::string &nick,
if (tab)
{
if (own)
+ {
tab->chatInput(mes);
+ }
else
+ {
tab->chatLog(nick, mes);
+ player_node->afkRespond(tab, nick);
+ }
}
else
{