summaryrefslogtreecommitdiff
path: root/include/commands/cmd_quit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_quit.h')
-rw-r--r--include/commands/cmd_quit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h
index 18af99fc0..9c80130a2 100644
--- a/include/commands/cmd_quit.h
+++ b/include/commands/cmd_quit.h
@@ -33,6 +33,12 @@ class cmd_quit : public command_t
/** Constructor for quit.
*/
cmd_quit (InspIRCd* Instance) : command_t(Instance,"QUIT",0,0,true) { syntax = "[<message>]"; }
+ /** 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);
};