diff options
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 2b49ff30..37b5f8fd 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -299,7 +299,6 @@ void PopupMenu::handleLink(const std::string &link) { player_node->inviteToParty(dynamic_cast<Player*> (being)); } -#endif else if (link == "admin-kick" && being && (being->getType() == Being::PLAYER || @@ -307,6 +306,7 @@ void PopupMenu::handleLink(const std::string &link) { adminHandler->kick(being->getId()); } +#endif // Unknown actions else |