summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-27 00:38:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-27 00:38:43 +0200
commit855c565e2242fa2504fb06f4579abc609de452f5 (patch)
treea07f2f2e99f56f80fbec31090dfea6fc06f57060 /src/localplayer.cpp
parentb26e72ed5e62e9079319e14ed82734f0659db3c4 (diff)
downloadmv-855c565e2242fa2504fb06f4579abc609de452f5.tar.gz
mv-855c565e2242fa2504fb06f4579abc609de452f5.tar.bz2
mv-855c565e2242fa2504fb06f4579abc609de452f5.tar.xz
mv-855c565e2242fa2504fb06f4579abc609de452f5.zip
Add no away to whisper chat context menu.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 4d085eae4..564c28f78 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -3119,6 +3119,8 @@ void LocalPlayer::afkRespond(ChatTab *tab, const std::string &nick)
}
else
{
+ if (tab->getNoAway())
+ return;
tab->chatLog(getName(), msg);
}
mAfkTime = cur_time;