1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:33:14 +02:00

Automatically wrap the help output.

This commit is contained in:
Sadie Powell
2025-04-16 01:46:52 +01:00
parent d2aee394ea
commit 74e9a9d2fe
16 changed files with 113 additions and 64 deletions
+2 -2
View File
@@ -157,12 +157,12 @@ public:
}
}
void OnServHelp(CommandSource &source) override
void OnServHelp(CommandSource &source, HelpWrapper &help) override
{
if (descriptions.count(source.command))
{
this->SetDesc(descriptions[source.command]);
Command::OnServHelp(source);
Command::OnServHelp(source, help);
}
}