mirror of
https://github.com/anope/anope.git
synced 2026-07-04 12:53:14 +02:00
fixed some duplicate messages and updated the german langfile (10% done)
This commit is contained in:
@@ -31,7 +31,7 @@ class CommandHSHelp : public Command
|
||||
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
|
||||
{
|
||||
User *u = source.u;
|
||||
source.Reply(_("%s commands"), 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->HasCommand(it->second->permission))
|
||||
it->second->OnServHelp(source);
|
||||
|
||||
Reference in New Issue
Block a user