1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 08:36:41 +02:00

Show the correct setting name in /ns help set message

This commit is contained in:
Adam
2013-11-18 10:52:28 -05:00
parent aeebaed4b2
commit f6cf978d0c
+7 -2
View File
@@ -924,11 +924,16 @@ class CommandNSSetMessage : public Command
bool OnHelp(CommandSource &source, const Anope::string &) anope_override
{
Anope::string cmd = source.command;
size_t i = cmd.find_last_of(' ');
if (i != Anope::string::npos)
cmd = cmd.substr(i + 1);
this->SendSyntax(source);
source.Reply(" ");
source.Reply(_("Allows you to choose the way Services are communicating with\n"
"you. With \002MSG\002 set, Services will use messages, else they'll\n"
"use notices."));
"you. With \002%s\002 set, Services will use messages, else they'll\n"
"use notices."), cmd.upper().c_str());
return true;
}