]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Implement IRCv3 message tag support.
[user/henk/code/inspircd.git] / include / command_parse.h
index 8324e5e25f262b82dd2302a8fd5d095d7ec673e9..98484ca540f798618c20fdc4a06f99439c03751d 100644 (file)
@@ -34,10 +34,11 @@ class CoreExport CommandParser
 
  private:
        /** Process a command from a user.
-        * @param user The user to parse the command for
-        * @param cmd The command string to process
+        * @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& cmd);
+       void ProcessCommand(LocalUser* user, std::string& command, CommandBase::Params& parameters);
 
        /** Command list, a hash_map of command names to Command*
         */
@@ -116,7 +117,7 @@ class CoreExport CommandParser
         * @param buffer The buffer line to process
         * @param user The user to whom this line belongs
         */
-       void ProcessBuffer(std::string &buffer,LocalUser *user);
+       void ProcessBuffer(LocalUser* user, const std::string& buffer);
 
        /** Add a new command to the commands hash
         * @param f The new Command to add to the list