]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_rehash.h
Add fixes to stop people changing the SID of a live server - certain configuration...
[user/henk/code/inspircd.git] / include / commands / cmd_rehash.h
index 7eb843d9a6b6ba80536c4606869148943780f18a..92282fe8a9a52cd7070b770d2ab3ccd097a0dd32 100644 (file)
@@ -29,14 +29,14 @@ class CommandRehash : public Command
  public:
        /** Constructor for rehash.
         */
-       CommandRehash (InspIRCd* Instance) : Command(Instance,"REHASH",'o',0,false,3) { syntax = "[<servermask>]"; }
+       CommandRehash (InspIRCd* Instance) : Command(Instance,"REHASH","o",0,false,3) { syntax = "[<servermask>]"; }
        /** 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