summaryrefslogtreecommitdiff
path: root/include/commands/cmd_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_part.h')
-rw-r--r--include/commands/cmd_part.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index e513e5ad8..5f5781874 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -33,6 +33,12 @@ class cmd_part : public command_t
/** Constructor for part.
*/
cmd_part (InspIRCd* Instance) : command_t(Instance,"PART",0,1) { syntax = "<channel>{,<channel>} [<reason>]"; }
+ /** 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** parameters, int pcnt, userrec *user);
};