summaryrefslogtreecommitdiff
path: root/include/commands/cmd_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_rules.h')
-rw-r--r--include/commands/cmd_rules.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands/cmd_rules.h b/include/commands/cmd_rules.h
index ef0514d3a..ffa7ea8bd 100644
--- a/include/commands/cmd_rules.h
+++ b/include/commands/cmd_rules.h
@@ -36,6 +36,12 @@ class cmd_rules : public command_t
/** Constructor for rules.
*/
cmd_rules (InspIRCd* Instance) : command_t(Instance,"RULES",0,0) { syntax = "[<servername>]"; }
+ /** 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);
};