- cmd_commands () : command_t("COMMANDS",0,0) { }
- void Handle(char **parameters, int pcnt, userrec *user);
+ /** Constructor for commands.
+ */
+ CommandCommands (InspIRCd* Instance) : Command(Instance,"COMMANDS",0,0) { }
+ /** Handle command.
+ * @param parameters The parameters to the comamnd
+ * @param pcnt The number of parameters passed to teh command
+ * @param user The user issuing the command
+ * @return A value from CmdResult to indicate command success or failure.
+ */
+ CmdResult Handle(const char* const* parameters, int pcnt, User *user);