diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 36ea69a0c..75347a9aa 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -77,6 +77,7 @@ #include "utils/gettext.h" #include "utils/process.h" +#include "utils/timer.h" #include "debug.h" @@ -742,6 +743,9 @@ impHandler(follow) if (!player_node) return; + if (!features.getBoolValue("allowFollow")) + return; + if (!args.empty()) player_node->setFollow(args); else if (tab && tab->getType() == ChatTab::TAB_WHISPER) |