summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 9fed214d9..bc16aee86 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -981,13 +981,7 @@ void PopupMenu::handleLink(const std::string &link,
if (actorManager)
being = actorManager->findBeing(mBeingId);
- // Follow Player action
- if (link == "follow" && !mNick.empty())
- {
- if (localPlayer)
- localPlayer->setFollow(mNick);
- }
- else if (link == "imitation" && !mNick.empty())
+ if (link == "imitation" && !mNick.empty())
{
if (localPlayer)
localPlayer->setImitate(mNick);
@@ -2652,7 +2646,7 @@ void PopupMenu::addFollow()
if (features.getBoolValue("allowFollow"))
{
// TRANSLATORS: popup menu item
- mBrowserBox->addRow("follow", _("Follow"));
+ mBrowserBox->addRow("/follow 'NAME'", _("Follow"));
}
// TRANSLATORS: popup menu item
// TRANSLATORS: imitate player