summaryrefslogtreecommitdiff
path: root/include/commands/cmd_away.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_away.h')
-rw-r--r--include/commands/cmd_away.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h
index 3c138dd1d..88d111c78 100644
--- a/include/commands/cmd_away.h
+++ b/include/commands/cmd_away.h
@@ -33,6 +33,12 @@ class cmd_away : public command_t
/** Constructor for away.
*/
cmd_away (InspIRCd* Instance) : command_t(Instance,"AWAY",0,0) { 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);
};