summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 22:43:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 22:43:25 +0300
commitee82a8e3ca61d176e52078f8326d92e2220af2d0 (patch)
treebeeef611c4b41dc056663126f6abb50dde91ef38 /src/gui/popups
parent0f49c02c2813ce853a7699b673103c8ef5edc05d (diff)
downloadmv-ee82a8e3ca61d176e52078f8326d92e2220af2d0.tar.gz
mv-ee82a8e3ca61d176e52078f8326d92e2220af2d0.tar.bz2
mv-ee82a8e3ca61d176e52078f8326d92e2220af2d0.tar.xz
mv-ee82a8e3ca61d176e52078f8326d92e2220af2d0.zip
Add chat command for recall player.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 6b3aaf68a..da729206c 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1253,10 +1253,6 @@ void PopupMenu::handleLink(const std::string &link,
if (mTextField)
mTextField->handlePaste();
}
- else if (link == "recall" && !mName.empty())
- {
- adminHandler->recallName(mName);
- }
else if (link == "ipcheck" && !mName.empty())
{
adminHandler->ipcheckName(mName);
@@ -2811,7 +2807,7 @@ void PopupMenu::showPlayerGMCommands(const std::string &name)
mBrowserBox->addRow("/gotopc 'NAME'", _("Goto"));
// TRANSLATORS: popup menu item
// TRANSLATORS: recall player to current position
- mBrowserBox->addRow("recall", _("Recall"));
+ mBrowserBox->addRow("/recallpc 'NAME'", _("Recall"));
// TRANSLATORS: popup menu item
// TRANSLATORS: revive player
mBrowserBox->addRow("/alive 'NAME'", _("Revive"));