summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp15
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)