summaryrefslogtreecommitdiff
path: root/include/commands/cmd_part.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 14:51:59 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 14:51:59 +0000
commitff8f998b2b855467de14d31ced9762dfdce65cce (patch)
tree3c4216b276b75dc5f27535533e91a2f59f84c104 /include/commands/cmd_part.h
parent710689b2c4f6f0bdeb349e101941943af8fcd07b (diff)
Add penalties for WHO, INVITE, LIST, JOIN, PART.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8257 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands/cmd_part.h')
-rw-r--r--include/commands/cmd_part.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index 0965a5031..626e4da1e 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -29,7 +29,7 @@ class cmd_part : public Command
public:
/** Constructor for part.
*/
- cmd_part (InspIRCd* Instance) : Command(Instance,"PART",0,1) { syntax = "<channel>{,<channel>} [<reason>]"; }
+ cmd_part (InspIRCd* Instance) : Command(Instance,"PART", 0, 1, false, 5) { syntax = "<channel>{,<channel>} [<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command