summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 18:02:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 18:02:24 +0300
commit227788d991459081a894428d4455ead1dd8b46d6 (patch)
tree8ddff2efce648fd89a3a51846650670d23ccc041 /src/actions/commands.cpp
parent52f9607980c82f53bbc76a5bb5825cbff61dc3b5 (diff)
downloadplus-227788d991459081a894428d4455ead1dd8b46d6.tar.gz
plus-227788d991459081a894428d4455ead1dd8b46d6.tar.bz2
plus-227788d991459081a894428d4455ead1dd8b46d6.tar.xz
plus-227788d991459081a894428d4455ead1dd8b46d6.zip
Add chat command /showstats. Also add show level stats to player context menu.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 0a5d098b1..a6be02b6a 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1281,4 +1281,10 @@ impHandler(commandShowLevel)
return true;
}
+impHandler(commandShowStats)
+{
+ adminHandler->showStats(event.args);
+ return true;
+}
+
} // namespace Actions