diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 16:41:09 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-25 16:41:09 +0000 |
commit | bde833f1827cfc5367602a580d23afcafc12d15b (patch) | |
tree | b2b81e557542aac912320443bd772b818144256c /include/commands | |
parent | 2d52c375efbad941407fdc81846b6e11a9d31834 (diff) |
Add optional max_params for commands, which means that we can compress 'extra' params, while still accepting ':' terminated params, etc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10715 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands')
-rw-r--r-- | include/commands/cmd_gline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h index 7db1f18a5..47971f190 100644 --- a/include/commands/cmd_gline.h +++ b/include/commands/cmd_gline.h @@ -29,7 +29,7 @@ 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,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 |