]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_kline.h
Fix headers for GCC 4.4: sprintf requires #include <cstdio>
[user/henk/code/inspircd.git] / include / commands / cmd_kline.h
index 98ac098de28b26c63b6005515bb2d810750fbdab..fca83aa460095a5764acd219e9dfbd3c199063c5 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 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.
@@ -29,7 +29,7 @@ class CommandKline : public Command
  public:
        /** Constructor for kline.
         */
-       CommandKline (InspIRCd* Instance) : Command(Instance,"KLINE","o",1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
+       CommandKline (InspIRCd* Instance) : Command(Instance,"KLINE","o",1,3,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