]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_admin.h
Fix a plausible memory leak on rehash, thanks dz.
[user/henk/code/inspircd.git] / include / commands / cmd_admin.h
index f8181971b266621700325e3ef50a394d20086dcf..a21a8b5dd61bb7033a9c3ec286070f630b14e527 100644 (file)
@@ -34,7 +34,7 @@ class CommandAdmin : public Command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */
-       CmdResult Handle(const char* const* parameters, int pcnt, User *user);
+       CmdResult Handle(const std::vector<std::string>& parameters, User *user);
 };
 
 #endif