]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix max-parameters in MODE command
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 13 Sep 2009 20:33:20 +0000 (20:33 +0000)
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 13 Sep 2009 20:33:20 +0000 (20:33 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11712 e03df62e-2008-0410-955e-edbf42e46eb7

src/commands/cmd_mode.cpp

index 5c27c8df80e701845435f5421f8e26e4aa2bcb7d..3cfc58263b72da251d3d60a64153cf0e8ebf36ad 100644 (file)
@@ -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