]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_qline.h
Add Module* creator to Command and ModeHandler
[user/henk/code/inspircd.git] / include / commands / cmd_qline.h
index 7ea7643f17b70325b5d40e3d3a6ad7f893b1008b..352ebddda020e4622d07344c5de02d9b3f3ee5be 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *      the file COPYING for details.
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_qline : public Command
+class CommandQline : public Command
 {
  public:
        /** Constructor for qline.
         */
-       cmd_qline (InspIRCd* Instance) : Command(Instance,"QLINE",'o',1) { syntax = "<nick> [<duration> :<reason>]"; }
+       CommandQline (InspIRCd* Instance) : Command(Instance,NULL,"QLINE","o",1,3,false,0) { syntax = "<nick> [<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