summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/command_parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index 682489ad5..d7c0c4ac1 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -108,6 +108,8 @@ class CommandParser : public classbase
*/
CmdResult CallHandler(const std::string &commandname,const char** parameters, int pcnt, userrec *user);
+ command_t* GetHandler(const std::string &commandname);
+
/** This function returns true if a command is valid with the given number of parameters and user.
* @param commandname The command name to check
* @param pcnt The parameter count