diff options
| author | 2007-10-21 14:26:25 +0000 | |
|---|---|---|
| committer | 2007-10-21 14:26:25 +0000 | |
| commit | 773afbfe3bb6ae0df1776016a080185e6094c8fb (patch) | |
| tree | 63fdf34c60bf9260d9f42c4be024173b83bf600d /include | |
| parent | Tweak so that commands with larger penalty than 1 work right (diff) | |
| download | inspircd++-773afbfe3bb6ae0df1776016a080185e6094c8fb.tar.gz inspircd++-773afbfe3bb6ae0df1776016a080185e6094c8fb.tar.bz2 inspircd++-773afbfe3bb6ae0df1776016a080185e6094c8fb.zip | |
Set cmd_nick to have a penalty of 3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8253 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/commands/cmd_nick.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h index f02522e9b..eb5397c5f 100644 --- a/include/commands/cmd_nick.h +++ b/include/commands/cmd_nick.h @@ -30,7 +30,7 @@ class cmd_nick : public Command public: /** Constructor for nick. */ - cmd_nick (InspIRCd* Instance) : Command(Instance,"NICK",0,1,true), allowinvalid(false) { syntax = "<newnick>"; } + cmd_nick (InspIRCd* Instance) : Command(Instance,"NICK", 0, 1, true, 3), allowinvalid(false) { syntax = "<newnick>"; } /** Handle command. * @param parameters The parameters to the comamnd * @param pcnt The number of parameters passed to teh command |
