From 7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 18:15:58 +0300 Subject: Add chat command /showstorage. Also add show storage to player context menu. --- src/actions/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index a6be02b6a..43fca1874 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1287,4 +1287,10 @@ impHandler(commandShowStats) return true; } +impHandler(commandShowStorage) +{ + adminHandler->showStorageList(event.args); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2