From 7b6e10d546402ad6820537cedbc5eba909d28fd9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Feb 2016 22:56:28 +0300 Subject: Add chat command for gms /iteminfo --- 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 8ec8ca78b..2e7252985 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1227,4 +1227,13 @@ impHandler(monsterInfo) return true; } +impHandler(itemInfo) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->itemInfo(args); + return true; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50