]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_restart.h
Add fixes to stop people changing the SID of a live server - certain configuration...
[user/henk/code/inspircd.git] / include / commands / cmd_restart.h
index 886c42b11bddb0a4445e94f2feb7a0dba80f4b3b..5c3c5d733552fef636b6c2d2aae2d7a6528921b1 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 char* const* parameters, int pcnt, User *user);
 };
 
 #endif