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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user