1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 23:46:37 +02:00

Tweak some help messages for consistency.

This commit is contained in:
Sadie Powell
2025-05-29 16:46:55 +01:00
parent 682a6a6ad4
commit bade5ea109
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -243,12 +243,12 @@ namespace
bool has_help = source.service->commands.find("HELP") != source.service->commands.end();
if (has_help && similar.empty())
{
source.Reply(_("Unknown command \002%s\002. \"%s\" for help."), message.c_str(),
source.Reply(_("Unknown command \002%s\002. Type \"%s\" for help."), message.c_str(),
source.service->GetQueryCommand("generic/help").c_str());
}
else if (has_help)
{
source.Reply(_("Unknown command \002%s\002. Did you mean \002%s\002? \"%s\" for help."),
source.Reply(_("Unknown command \002%s\002. Did you mean \002%s\002? Type \"%s\" for help."),
message.c_str(), similar.c_str(), source.service->GetQueryCommand("generic/help").c_str());
}
else if (similar.empty())