summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-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 56da65cc6..8ebd34473 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -982,13 +982,7 @@ void PopupMenu::handleLink(const std::string &link,
if (actorManager)
being = actorManager->findBeing(mBeingId);
- if (link == "admin-kick" && being &&
- (being->getType() == ActorType::Player ||
- being->getType() == ActorType::Monster))
- {
- adminHandler->kick(being->getId());
- }
- else if (link == "chat close" && mTab)
+ if (link == "chat close" && mTab)
{
inputManager.executeChatCommand(InputAction::CLOSE_CHAT_TAB,
std::string(), mTab);
@@ -2649,7 +2643,7 @@ void PopupMenu::showGMPopup()
{
// TRANSLATORS: popup menu item
// TRANSLATORS: kick player
- mBrowserBox->addRow("admin-kick", _("Kick"));
+ mBrowserBox->addRow("/kick :'BEINGID'", _("Kick"));
}
}