From 61de258859b600011284a49d54bca1f31ecb6d3d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 19:46:26 +0300 Subject: Add chat command /showaccountinfo. Also add it to player context menu. --- src/actions/commands.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 68f1a71fe..e6721e4f0 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1314,4 +1314,13 @@ impHandler(locatePlayer) return true; } +impHandler(commandShowAccountInfo) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->showAccountInfo(args); + return true; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50