summaryrefslogtreecommitdiff
path: root/modules/core/cs_help.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-04 18:32:04 -0500
committerAdam <Adam@anope.org>2011-02-04 18:32:04 -0500
commita53a797271fe1c68296a5c4848f827670518a309 (patch)
tree5cfe69af11752937cfc8b6e2445eb11d23cb1557 /modules/core/cs_help.cpp
parent08583dc107974252312fb7c87532c9deb68e7f63 (diff)
Replaced all of the old %S's in the language strings that were used for service nicks
Diffstat (limited to 'modules/core/cs_help.cpp')
-rw-r--r--modules/core/cs_help.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/core/cs_help.cpp b/modules/core/cs_help.cpp
index b1916bace..db34fc8ea 100644
--- a/modules/core/cs_help.cpp
+++ b/modules/core/cs_help.cpp
@@ -32,13 +32,15 @@ class CommandCSHelp : public Command
void OnSyntaxError(CommandSource &source, const Anope::string &subcommand)
{
User *u = source.u;
- source.Reply(_("\002%S\002 allows you to register and control various\n"
- "aspects of channels. %S can often prevent\n"
+ source.Reply(_("\002%s\002 allows you to register and control various\n"
+ "aspects of channels. %s can often prevent\n"
"malicious users from \"taking over\" channels by limiting\n"
"who is allowed channel operator privileges. Available\n"
"commands are listed below; to use them, type\n"
- "\002%R%S \037command\037\002. For more information on a\n"
- "specific command, type \002%R%S HELP \037command\037\002."));
+ "\002%R%s \037command\037\002. For more information on a\n"
+ "specific command, type \002%R%s HELP \037command\037\002."),
+ ChanServ->nick.c_str(), ChanServ->nick.c_str(), ChanServ->nick.c_str(),
+ ChanServ->nick.c_str());
for (CommandMap::const_iterator it = ChanServ->Commands.begin(); it != ChanServ->Commands.end(); ++it)
if (!Config->HidePrivilegedCommands || it->second->permission.empty() || (u->Account() && u->Account()->HasCommand(it->second->permission)))
it->second->OnServHelp(source);