summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 19:46:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 19:46:26 +0300
commit61de258859b600011284a49d54bca1f31ecb6d3d (patch)
treeb5c6dba3f0329f9f52f9bcbf57dd14efeddf1e22 /src/gui
parentca20df8ccb5eac498a9eab2f3c03d30fe495ef30 (diff)
downloadplus-61de258859b600011284a49d54bca1f31ecb6d3d.tar.gz
plus-61de258859b600011284a49d54bca1f31ecb6d3d.tar.bz2
plus-61de258859b600011284a49d54bca1f31ecb6d3d.tar.xz
plus-61de258859b600011284a49d54bca1f31ecb6d3d.zip
Add chat command /showaccountinfo. Also add it to player context menu.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index aef4c661d..46d35d0d9 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2667,6 +2667,9 @@ void PopupMenu::showPlayerGMCommands()
// TRANSLATORS: check player ip
mBrowserBox->addRow("ipcheck", _("Check ip"));
// TRANSLATORS: popup menu item
+ // TRANSLATORS: show player account info
+ mBrowserBox->addRow("/showaccountinfo 'NAME'", _("Show account info"));
+ // TRANSLATORS: popup menu item
// TRANSLATORS: show player level
mBrowserBox->addRow("/showlevel 'NAME'", _("Show level"));
// TRANSLATORS: popup menu item