]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_join.h
Implement <options:prefixpart|suffixpart|fixedpart>
[user/henk/code/inspircd.git] / include / commands / cmd_join.h
index 6889b71fe6b9991b72822bd41c96f571d2c40d24..ecbe2bb2bf1e0de8fbf6d8cfc62fb53ed2620b2c 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_join : public Command
+class CommandJoin : public Command
 {
  public:
        /** Constructor for join.
         */
-       cmd_join (InspIRCd* Instance) : Command(Instance,"JOIN",0,1) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
+       CommandJoin (InspIRCd* Instance) : Command(Instance,"JOIN", 0, 1, false, 2) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
        /** Handle command.
         * @param parameters The parameters to the comamnd
         * @param pcnt The number of parameters passed to teh command