From 6cd88494662c5c4af2da891926dcc82367596cb9 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 30 May 2010 17:21:44 -0400 Subject: Moved the *Serv help functions to Command, will come in use later with subcommands --- include/commands.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/commands.h') diff --git a/include/commands.h b/include/commands.h index 5d381084e..9e597204e 100644 --- a/include/commands.h +++ b/include/commands.h @@ -78,6 +78,11 @@ class CoreExport Command : public Flags */ virtual CommandReturn Execute(User *u, const std::vector &); + /** Called when HELP is requsted for the client this command is on. + * @param u The user requesting help + */ + virtual void OnServHelp(User *u); + /** Requested when the user is requesting help on this command. Help on this command should be sent to the user. * @param u The user requesting help * @param subcommand The subcommand the user is requesting help on, or an empty string. (e.g. /ns help set foo bar lol gives a subcommand of -- cgit