diff options
Diffstat (limited to 'modules/core/ns_help.cpp')
-rw-r--r-- | modules/core/ns_help.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/core/ns_help.cpp b/modules/core/ns_help.cpp index 654d2233a..bb16f5594 100644 --- a/modules/core/ns_help.cpp +++ b/modules/core/ns_help.cpp @@ -30,12 +30,13 @@ class CommandNSHelp : public Command void OnSyntaxError(CommandSource &source, const Anope::string &subcommand) { User *u = source.u; - source.Reply(_("\002%S\002 allows you to \"register\" a nickname and\n" + source.Reply(_("\002%s\002 allows you to \"register\" a nickname and\n" "prevent others from using it. The following\n" "commands allow for registration and maintenance of\n" - "nicknames; to use them, type \002%R%S \037command\037\002.\n" + "nicknames; to use them, type \002%R%s \037command\037\002.\n" "For more information on a specific command, type\n" - "\002%R%S HELP \037command\037\002.")); + "\002%R%s HELP \037command\037\002."), NickServ->nick.c_str(), NickServ->nick.c_str(), + NickServ->nick.c_str()); for (CommandMap::const_iterator it = NickServ->Commands.begin(), it_end = NickServ->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); @@ -43,7 +44,8 @@ class CommandNSHelp : public Command source.Reply(_(" \n" "Services Operators can also drop any nickname without needing\n" "to identify for the nick, and may view the access list for\n" - "any nickname (\002%R%S ACCESS LIST \037nick\037\002).")); + "any nickname (\002%R%s ACCESS LIST \037nick\037\002)."), + NickServ->nick.c_str()); if (Config->NSExpire >= 86400) source.Reply(_("Nicknames that are not used anymore are subject to \n" "the automatic expiration, i.e. they will be deleted\n" @@ -52,9 +54,9 @@ class CommandNSHelp : public Command "\002NOTICE:\002 This service is intended to provide a way for\n" "IRC users to ensure their identity is not compromised.\n" "It is \002NOT\002 intended to facilitate \"stealing\" of\n" - "nicknames or other malicious actions. Abuse of %S\n" + "nicknames or other malicious actions. Abuse of %s\n" "will result in, at minimum, loss of the abused\n" - "nickname(s).")); + "nickname(s)."), NickServ->nick.c_str()); } }; |