diff options
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/cs_xop.cpp | 36 | ||||
-rw-r--r-- | modules/core/hs_help.cpp | 2 | ||||
-rw-r--r-- | modules/core/ns_cert.cpp | 4 |
3 files changed, 25 insertions, 17 deletions
diff --git a/modules/core/cs_xop.cpp b/modules/core/cs_xop.cpp index c1ea9f81d..48a3556cd 100644 --- a/modules/core/cs_xop.cpp +++ b/modules/core/cs_xop.cpp @@ -443,8 +443,8 @@ class CommandCSQOP : public XOPBase "The \002QOP\002 commands are limited to\n" "founders (unless SECUREOPS is off). However, any user on the\n" "QOP list may use the \002QOP LIST\002 command.\n" - " \n" - "This command may have been disabled for your channel, and\n" + " \n")); + source.Reply(_("This command may have been disabled for your channel, and\n" "in that case you need to use the access list. See \n" "\002%s%s HELP ACCESS\002 for information about the access list,\n" "and \002%s%s HELP SET XOP\002 to know how to toggle between \n" @@ -507,12 +507,14 @@ class CommandCSAOP : public XOPBase "SOPs or above, while the \002AOP CLEAR\002 command can only\n" "be used by the channel founder. However, any user on the\n" "AOP list may use the \002AOP LIST\002 command.\n" - " \n" - "This command may have been disabled for your channel, and\n" + " \n")); + source.Reply(_("This command may have been disabled for your channel, and\n" "in that case you need to use the access list. See \n" "\002%s%s HELP ACCESS\002 for information about the access list,\n" "and \002%s%s HELP SET XOP\002 to know how to toggle between \n" - "the access list and xOP list systems."), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); + "the access list and xOP list systems."), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); return true; } @@ -567,12 +569,14 @@ class CommandCSHOP : public XOPBase "The \002HOP ADD\002, \002HOP DEL\002 and \002HOP LIST\002 commands are \n" "limited to AOPs or above, while the \002HOP CLEAR\002 command \n" "can only be used by the channel founder.\n" - " \n" - "This command may have been disabled for your channel, and\n" + " \n")); + source.Reply(_("This command may have been disabled for your channel, and\n" "in that case you need to use the access list. See \n" "\002%s%s HELP ACCESS\002 for information about the access list,\n" "and \002%s%s HELP SET XOP\002 to know how to toggle between \n" - "the access list and xOP list systems."), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); + "the access list and xOP list systems."), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); return true; } @@ -629,12 +633,14 @@ class CommandCSSOP : public XOPBase "The \002SOP ADD\002, \002SOP DEL\002 and \002SOP CLEAR\002 commands are \n" "limited to the channel founder. However, any user on the\n" "AOP list may use the \002SOP LIST\002 command.\n" - " \n" - "This command may have been disabled for your channel, and\n" + " \n")); + source.Reply(_("This command may have been disabled for your channel, and\n" "in that case you need to use the access list. See \n" "\002%s%s HELP ACCESS\002 for information about the access list,\n" "and \002%s%s HELP SET XOP\002 to know how to toggle between \n" - "the access list and xOP list systems."), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); + "the access list and xOP list systems."), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); return true; } @@ -690,12 +696,14 @@ class CommandCSVOP : public XOPBase "The \002VOP ADD\002, \002VOP DEL\002 and \002VOP LIST\002 commands are \n" "limited to AOPs or above, while the \002VOP CLEAR\002 command \n" "can only be used by the channel founder.\n" - " \n" - "This command may have been disabled for your channel, and\n" + " \n")); + source.Reply(_("This command may have been disabled for your channel, and\n" "in that case you need to use the access list. See \n" "\002%s%s HELP ACCESS\002 for information about the access list,\n" "and \002%s%s HELP SET XOP\002 to know how to toggle between \n" - "the access list and xOP list systems."), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); + "the access list and xOP list systems."), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str(), + Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str()); return true; } diff --git a/modules/core/hs_help.cpp b/modules/core/hs_help.cpp index bf96e4d77..bcf8fd28d 100644 --- a/modules/core/hs_help.cpp +++ b/modules/core/hs_help.cpp @@ -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); diff --git a/modules/core/ns_cert.cpp b/modules/core/ns_cert.cpp index 5604f680d..583502ba9 100644 --- a/modules/core/ns_cert.cpp +++ b/modules/core/ns_cert.cpp @@ -52,7 +52,7 @@ class CommandNSCert : public Command if (!source.u->fingerprint.empty() && !nc->FindCert(source.u->fingerprint)) { nc->AddCert(source.u->fingerprint); - source.Reply(_("\002%s\002 added to your certificate list"), source.u->fingerprint.c_str()); + source.Reply(_("\002%s\002 added to your certificate list."), source.u->fingerprint.c_str()); return MOD_CONT; } @@ -79,7 +79,7 @@ class CommandNSCert : public Command if (!source.u->fingerprint.empty() && nc->FindCert(source.u->fingerprint)) { nc->EraseCert(source.u->fingerprint); - source.Reply(_("\002%s\002 deleted from your certificate list"), source.u->fingerprint.c_str()); + source.Reply(_("\002%s\002 deleted from your certificate list."), source.u->fingerprint.c_str()); return MOD_CONT; } |