From 060e401cdb05ae6f933616f1d2923a0c619c43e0 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 13 Sep 2009 20:33:20 +0000 Subject: Fix max-parameters in MODE command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11712 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_mode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_mode.cpp') 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 = " {}"; } + CommandMode ( Module* parent) : Command(parent,"MODE",1) { syntax = " {}"; } /** Handle command. * @param parameters The parameters to the comamnd * @param pcnt The number of parameters passed to teh command -- cgit v1.2.3