From f4761d658102198abcce6b020c2c0f0e756d534a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Oct 2015 20:04:47 +0300 Subject: Add protection attribute to input actions. Unsafe actions blocked from remote usage. --- 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 f8e09e664..cc571c372 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -134,6 +134,10 @@ class InputManager final const std::string &args, ChatTab *const tab); + bool executeRemoteChatCommand(const std::string &cmd, + const std::string &args, + ChatTab *const tab); + bool executeChatCommand(const InputActionT keyNum, const std::string &args, ChatTab *const tab); -- cgit v1.2.3-60-g2f50