summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 15:40:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 15:40:34 +0300
commit0b9105af0ae2b85a0a3ea5364d8a854d107ce34a (patch)
tree10d4c2e846010e55fe7a48cc9e84502938ef16ab /src/commands.cpp
parentba4e639a333eed40f95f7bf7a361c0bd0186c334 (diff)
downloadmv-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.gz
mv-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.bz2
mv-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.tar.xz
mv-0b9105af0ae2b85a0a3ea5364d8a854d107ce34a.zip
Move chat command /disableaway into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index f2d7cd6ce..3a7bf28a2 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -106,18 +106,6 @@ impHandler(hack)
return true;
}
-impHandler(disableAway)
-{
- if (event.tab)
- {
- event.tab->setNoAway(true);
- if (chatWindow)
- chatWindow->saveState();
- return true;
- }
- return false;
-}
-
impHandler(enableAway)
{
if (event.tab)