From 142cdd218fe10efbea5ceb78cb7947812c35e19e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 17:19:40 +0300 Subject: Add chat command /gmcharcommands. Also add show char commands to player context menu. --- src/actions/commands.cpp | 6 ++++++ src/actions/commands.h | 1 + 2 files changed, 7 insertions(+) (limited to 'src/actions') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 8bccbc9cd..6cd543707 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1269,4 +1269,10 @@ impHandler(playerGmCommands) return true; } +impHandler(playerCharGmCommands) +{ + adminHandler->playerCharGmCommands(event.args); + return true; +} + } // namespace Actions diff --git a/src/actions/commands.h b/src/actions/commands.h index ffcdde479..a950b4d50 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -103,6 +103,7 @@ namespace Actions decHandler(mobSearch); decHandler(mobSpawnSearch); decHandler(playerGmCommands); + decHandler(playerCharGmCommands); } // namespace Actions #undef decHandler -- cgit v1.2.3-70-g09d2