summaryrefslogtreecommitdiff
path: root/include/commands/cmd_restart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_restart.h')
-rw-r--r--include/commands/cmd_restart.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands/cmd_restart.h b/include/commands/cmd_restart.h
index 46a2e606e..89a217a95 100644
--- a/include/commands/cmd_restart.h
+++ b/include/commands/cmd_restart.h
@@ -36,6 +36,12 @@ class cmd_restart : public command_t
/** Constructor for restart.
*/
cmd_restart (InspIRCd* Instance) : command_t(Instance,"RESTART",'o',1) { syntax = "<password>"; }
+ /** 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);
};