diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:15:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:20:16 +0300 |
commit | 7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4 (patch) | |
tree | 434a8768d65fdee815bb5a18734d417b8076c690 /src/actions/commands.cpp | |
parent | 227788d991459081a894428d4455ead1dd8b46d6 (diff) | |
download | manaverse-7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4.tar.gz manaverse-7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4.tar.bz2 manaverse-7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4.tar.xz manaverse-7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4.zip |
Add chat command /showstorage. Also add show storage to player context menu.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |