]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Fix this so it works, passes test case. Provide a method to query for a bit and to...
[user/henk/code/inspircd.git] / include / command_parse.h
index 682489ad5788621d94dd878907d58fcca2ad5a4d..d7c0c4ac15c59ff35abf5ed01798f8b82cb7853c 100644 (file)
@@ -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