1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 17:56:38 +02:00

Make a message consistent with others.

This commit is contained in:
Sadie Powell
2025-07-02 14:08:04 +01:00
parent 6a539277b9
commit 80c0adf7c8
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -247,12 +247,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. Type \"%s\" for help."), message.c_str(),
source.Reply(_("Unknown command \002%s\002. Type \002%s\002 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? Type \"%s\" for help."),
source.Reply(_("Unknown command \002%s\002. Did you mean \002%s\002? Type \002%s\002 for help."),
message.c_str(), similar.c_str(), source.service->GetQueryCommand("generic/help").c_str());
}
else if (similar.empty())