summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
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 da729206c..6c359b5ff 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 == "ipcheck" && !mName.empty())
- {
- adminHandler->ipcheckName(mName);
- }
else if (link == "gm" && !mName.empty())
{
showGMPopup(mName);
@@ -2800,7 +2796,7 @@ void PopupMenu::showPlayerGMCommands(const std::string &name)
{
// TRANSLATORS: popup menu item
// TRANSLATORS: check player ip
- mBrowserBox->addRow("ipcheck", _("Check ip"));
+ mBrowserBox->addRow("/ipcheck 'NAME'", _("Check ip"));
}
// TRANSLATORS: popup menu item
// TRANSLATORS: go to player position