From 28513865ce4960a7065f29de707ca2845dda12a1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 19 Jan 2022 11:40:15 +0000 Subject: Fix aliases which require routing to be broadcast out. --- include/command_parse.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/command_parse.h') 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 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 -- cgit v1.3.1-10-gc9f91