diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-27 00:38:43 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-27 00:38:43 +0200 |
commit | 855c565e2242fa2504fb06f4579abc609de452f5 (patch) | |
tree | a07f2f2e99f56f80fbec31090dfea6fc06f57060 /src/localplayer.cpp | |
parent | b26e72ed5e62e9079319e14ed82734f0659db3c4 (diff) | |
download | ManaVerse-855c565e2242fa2504fb06f4579abc609de452f5.tar.gz ManaVerse-855c565e2242fa2504fb06f4579abc609de452f5.tar.bz2 ManaVerse-855c565e2242fa2504fb06f4579abc609de452f5.tar.xz ManaVerse-855c565e2242fa2504fb06f4579abc609de452f5.zip |
Add no away to whisper chat context menu.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
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; |