]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/numeric.h
Use CommandBase::Params instead of std::vector<std::string>.
[user/henk/code/inspircd.git] / include / numeric.h
index 85f2f13f082340c6038e36970a711b2a9360fb1c..cc9f9cc9bbd7f7206631b9517e4c6bc6ca136224 100644 (file)
@@ -34,7 +34,7 @@ class Numeric::Numeric
 
        /** Parameters of the numeric
         */
-       std::vector<std::string> params;
+       CommandBase::Params params;
 
        /** Source server of the numeric, if NULL (the default) then it is the local server
         */
@@ -78,10 +78,10 @@ class Numeric::Numeric
        /** Get the parameters of the numeric
         * @return Parameters of the numeric as a const vector of strings
         */
-       const std::vector<std::string>& GetParams() const { return params; }
+       const CommandBase::Params& GetParams() const { return params; }
 
        /** Get the parameters of the numeric
         * @return Parameters of the numeric as a vector of strings
         */
-       std::vector<std::string>& GetParams() { return params; }
+       CommandBase::Params& GetParams() { return params; }
 };