]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_gline.h
Add/document channels/set-permanent priv, and tie setting of +P to it.
[user/henk/code/inspircd.git] / include / commands / cmd_gline.h
index c342bc28b5b321f36b1eb6045ee7967e2aada15e..7db1f18a5efd5ecb802c46a2facb571993a380c1 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 std::vector<std::string>& parameters, User *user);
 };
 
 #endif