summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index cd265beb5..58fe78bf5 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -61,6 +61,11 @@ class CommandHandler final
void handleCommand(const std::string &command,
ChatTab *const tab = localChatTab);
+ void invokeCommand(const std::string &type,
+ const std::string &args,
+ ChatTab *const tab,
+ const bool warn = false);
+
void handleCommands(const std::string &command,
ChatTab *const tab = localChatTab);