]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_restart.h
Add/document channels/set-permanent priv, and tie setting of +P to it.
[user/henk/code/inspircd.git] / include / commands / cmd_restart.h
index 886c42b11bddb0a4445e94f2feb7a0dba80f4b3b..6ad33655a85fc22ee501494bfa87046651b73287 100644 (file)
@@ -32,14 +32,14 @@ class CommandRestart : public Command
  public:
        /** Constructor for restart.
         */
-       CommandRestart (InspIRCd* Instance) : Command(Instance,"RESTART",'o',1,false,0) { syntax = "<password>"; }
+       CommandRestart (InspIRCd* Instance) : Command(Instance,"RESTART","o",1,false,0) { syntax = "<password>"; }
        /** Handle command.
         * @param parameters The parameters to the comamnd
         * @param pcnt The number of parameters passed to teh command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */
-       CmdResult Handle(const char** parameters, int pcnt, User *user);
+       CmdResult Handle(const std::vector<std::string>& parameters, User *user);
 };
 
 #endif