diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 00:53:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 00:53:29 +0300 |
commit | e2dddbdd9599b9b1f6a9825ee06d4d3616d9d1dd (patch) | |
tree | ee5204871bd3fe6bdc5638d7ee95a75ceb8efe95 /src/commands.cpp | |
parent | 6e99f459bf4895e41118dbcf00ed3ba027b5b952 (diff) | |
download | plus-e2dddbdd9599b9b1f6a9825ee06d4d3616d9d1dd.tar.gz plus-e2dddbdd9599b9b1f6a9825ee06d4d3616d9d1dd.tar.bz2 plus-e2dddbdd9599b9b1f6a9825ee06d4d3616d9d1dd.tar.xz plus-e2dddbdd9599b9b1f6a9825ee06d4d3616d9d1dd.zip |
Move chat command /follow into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 68a40bbcc..7494c45d2 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -166,21 +166,6 @@ impHandler(navigate) return true; } -impHandler(follow) -{ - if (!localPlayer) - return false; - - if (!features.getBoolValue("allowFollow")) - return false; - - if (!event.args.empty()) - localPlayer->setFollow(event.args); - else if (event.tab && event.tab->getType() == ChatTabType::WHISPER) - localPlayer->setFollow(static_cast<WhisperTab*>(event.tab)->getNick()); - return true; -} - impHandler(imitation) { if (!localPlayer) |