mirror of
https://github.com/anope/anope.git
synced 2026-07-07 11:23:13 +02:00
Automatically wrap the help output.
This commit is contained in:
@@ -153,12 +153,12 @@ public:
|
||||
this->Run(source, source.nc->display, !params.empty() ? params[0] : "");
|
||||
}
|
||||
|
||||
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