mirror of
https://github.com/anope/anope.git
synced 2026-07-02 15:53:13 +02:00
Moved the language strings which are only used once
out of the core and into the modules that use them.
This commit is contained in:
@@ -30,7 +30,7 @@ class CommandHSHelp : public Command
|
||||
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
|
||||
{
|
||||
User *u = source.u;
|
||||
source.Reply(OPER_HELP, Config->s_HostServ.c_str());
|
||||
source.Reply(_("%s commands"), Config->s_HostServ.c_str());
|
||||
for (CommandMap::const_iterator it = HostServ->Commands.begin(), it_end = HostServ->Commands.end(); it != it_end; ++it)
|
||||
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || (u->Account() && u->Account()->HasCommand(it->second->permission)))
|
||||
it->second->OnServHelp(source);
|
||||
|
||||
Reference in New Issue
Block a user