diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 16:41:13 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 16:41:13 +0000 |
commit | dcfd227ffbfb11833663c1f96490d41537b4f496 (patch) | |
tree | 7a3160c5aad410c547688f571381057c939a0a5f /include/commands/cmd_kline.h | |
parent | 5b91ea259b0c01e2c936f1be8ee1f888d2704aa1 (diff) |
Fix a number of commands to have max_params field. This means in practice, that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands/cmd_kline.h')
-rw-r--r-- | include/commands/cmd_kline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h index 98ac098de..36292d514 100644 --- a/include/commands/cmd_kline.h +++ b/include/commands/cmd_kline.h @@ -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 |