]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
More numerics.h conversion
[user/henk/code/inspircd.git] / include / mode.h
index 5d4ce0c8c00fa92285530bd2c5521df25319cf0e..d00ec30211ab11bb1026a0a639bf4647350ff260 100644 (file)
@@ -496,13 +496,12 @@ class CoreExport ModeParser : public classbase
        /** Process a set of mode changes from a server or user.
         * @param parameters The parameters of the mode change, in the format
         * they would be from a MODE command.
-        * @param pcnt The number of items in the parameters array
         * @param user The user setting or removing the modes. When the modes are set
         * by a server, an 'uninitialized' User is used, where *user::nick == NULL
         * and *user->server == NULL.
         * @param servermode True if a server is setting the mode.
         */
-       void Process(const char* const* parameters, int pcnt, User *user, bool servermode);
+       void Process(const std::vector<std::string>& parameters, User *user, bool servermode);
 
        /** Find the mode handler for a given mode and type.
         * @param modeletter mode letter to search for