diff options
author | Adam <Adam@anope.org> | 2010-09-26 02:33:01 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-26 02:33:01 -0400 |
commit | d646d455e2655be59f6d5bcc56710ac70548ca37 (patch) | |
tree | d236b9d4991d62538a0318f213416396734e72e0 /modules/core/cs_set_description.cpp | |
parent | 05e6815d912f0418f6da25a2106dd718796f02fa (diff) |
Changed the language system to use gettext
Diffstat (limited to 'modules/core/cs_set_description.cpp')
-rw-r--r-- | modules/core/cs_set_description.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/cs_set_description.cpp b/modules/core/cs_set_description.cpp index 1365de91a..9fe6eb61e 100644 --- a/modules/core/cs_set_description.cpp +++ b/modules/core/cs_set_description.cpp @@ -28,26 +28,26 @@ class CommandCSSetDescription : public Command ci->desc = params[1]; - notice_lang(Config->s_ChanServ, u, CHAN_DESC_CHANGED, ci->name.c_str(), ci->desc.c_str()); + u->SendMessage(ChanServ, CHAN_DESC_CHANGED, ci->name.c_str(), ci->desc.c_str()); return MOD_CONT; } bool OnHelp(User *u, const Anope::string &) { - notice_help(Config->s_ChanServ, u, CHAN_HELP_SET_DESC, "SET"); + u->SendMessage(ChanServ, CHAN_HELP_SET_DESC, "SET"); return true; } void OnSyntaxError(User *u, const Anope::string &) { // XXX - syntax_error(Config->s_ChanServ, u, "SET", CHAN_SET_SYNTAX); + SyntaxError(ChanServ, u, "SET", CHAN_SET_SYNTAX); } void OnServHelp(User *u) { - notice_lang(Config->s_ChanServ, u, CHAN_HELP_CMD_SET_DESC); + u->SendMessage(ChanServ, CHAN_HELP_CMD_SET_DESC); } }; @@ -60,14 +60,14 @@ class CommandCSSASetDescription : public CommandCSSetDescription bool OnHelp(User *u, const Anope::string &) { - notice_help(Config->s_ChanServ, u, CHAN_HELP_SET_DESC, "SASET"); + u->SendMessage(ChanServ, CHAN_HELP_SET_DESC, "SASET"); return true; } void OnSyntaxError(User *u, const Anope::string &) { // XXX - syntax_error(Config->s_ChanServ, u, "SASET", CHAN_SASET_SYNTAX); + SyntaxError(ChanServ, u, "SASET", CHAN_SASET_SYNTAX); } }; |