diff options
author | Sadie Powell <sadie@witchery.services> | 2025-04-16 01:46:52 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-04-16 01:50:59 +0100 |
commit | 74e9a9d2feb3690dc06a310e0477cd6f17e25fab (patch) | |
tree | bfde58ac0c6babff941b29459b92e89c22cb9d76 /include/commands.h | |
parent | d2aee394ea5bc91b132001fb5bf2457eec295432 (diff) |
Automatically wrap the help output.
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h index e9df980e0..9692f438c 100644 --- a/include/commands.h +++ b/include/commands.h @@ -14,6 +14,7 @@ #include "service.h" #include "anope.h" #include "channels.h" +#include "textproc.h" struct CommandGroup final { @@ -153,7 +154,7 @@ public: /** Called when help is requested for the client this command is on. * @param source The source */ - virtual void OnServHelp(CommandSource &source); + virtual void OnServHelp(CommandSource &source, HelpWrapper &help); /** Requested when the user is requesting help on this command. Help on this command should be sent to the user. * @param source The source |