]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_gline.h
Add fixes to stop people changing the SID of a live server - certain configuration...
[user/henk/code/inspircd.git] / include / commands / cmd_gline.h
index c342bc28b5b321f36b1eb6045ee7967e2aada15e..509f94de9a489e9441812d050cdce22e95f16e6c 100644 (file)
@@ -29,14 +29,14 @@ class CommandGline : public Command
  public:
        /** Constructor for gline.
         */
-       CommandGline (InspIRCd* Instance) : Command(Instance,"GLINE",'o',1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
+       CommandGline (InspIRCd* Instance) : Command(Instance,"GLINE","o",1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
        /** 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