diff options
Diffstat (limited to 'include/command_parse.h')
| -rw-r--r-- | include/command_parse.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/command_parse.h b/include/command_parse.h index 74de719ae..e384e992a 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -37,13 +37,6 @@ class CoreExport CommandParser final typedef std::unordered_map<std::string, Command*, irc::insensitive, irc::StrHashComp> CommandMap; private: - /** Process a command from a user. - * @param user The user to parse the command for. - * @param command The name of the command. - * @param parameters The parameters to the command. - */ - void ProcessCommand(LocalUser* user, std::string& command, CommandBase::Params& parameters); - /** Command list, a hash_map of command names to Command* */ CommandMap cmdlist; @@ -119,6 +112,13 @@ class CoreExport CommandParser final */ void ProcessBuffer(LocalUser* user, const std::string& buffer); + /** Process a command from a user. + * @param user The user to parse the command for. + * @param command The name of the command. + * @param parameters The parameters to the command. + */ + void ProcessCommand(LocalUser* user, std::string& command, CommandBase::Params& parameters); + /** Add a new command to the commands hash * @param f The new Command to add to the list * @return True if the command was added |
