summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-13 20:33:20 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-13 20:33:20 +0000
commit060e401cdb05ae6f933616f1d2923a0c619c43e0 (patch)
tree85d6565a87fe08241116d8c5f03927ee5688d1ac /src/commands
parent2d732f4dbf4ccd22c8a4424692cc72a89ffd49b7 (diff)
Fix max-parameters in MODE command
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11712 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_mode.cpp b/src/commands/cmd_mode.cpp
index 5c27c8df8..3cfc58263 100644
--- a/src/commands/cmd_mode.cpp
+++ b/src/commands/cmd_mode.cpp
@@ -30,7 +30,7 @@ class CommandMode : public Command
public:
/** Constructor for mode.
*/
- CommandMode ( Module* parent) : Command(parent,"MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
+ CommandMode ( Module* parent) : Command(parent,"MODE",1) { syntax = "<target> <modes> {<mode-parameters>}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command