From 07012a81f523b7f6bd095325ddd2675a3ce06d09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 13:09:30 +0300 Subject: If chat command not found, try find it in input actions. --- src/input/inputmanager.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/input/inputmanager.h') diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index 1635bf03c..ab8f3d2f0 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -118,6 +118,10 @@ class InputManager final void executeAction(const int keyNum); + bool executeChatCommand(const std::string &cmd, + const std::string &args, + ChatTab *const tab); + protected: void resetKey(const int i); -- cgit v1.2.3-70-g09d2