summaryrefslogtreecommitdiff
path: root/include/commands/cmd_admin.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands/cmd_admin.h')
-rw-r--r--include/commands/cmd_admin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/commands/cmd_admin.h b/include/commands/cmd_admin.h
index 502140f17..108c4aa9f 100644
--- a/include/commands/cmd_admin.h
+++ b/include/commands/cmd_admin.h
@@ -32,6 +32,12 @@ class cmd_admin : public command_t
/** Constructor for admin.
*/
cmd_admin (InspIRCd* Instance) : command_t(Instance,"ADMIN",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);
};