diff options
| author | Adam <Adam@anope.org> | 2011-02-04 15:30:31 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-02-04 15:30:31 -0500 |
| commit | 08583dc107974252312fb7c87532c9deb68e7f63 (patch) | |
| tree | 0c42ec7422752cabd8352b49be976b4dc100c56c /modules/extra/ns_set_misc.cpp | |
| parent | c362a1e077d5ede9eadbe79483f2a755b5883e9a (diff) | |
Moved the language strings which are only used once
out of the core and into the modules that use them.
Diffstat (limited to 'modules/extra/ns_set_misc.cpp')
| -rw-r--r-- | modules/extra/ns_set_misc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/extra/ns_set_misc.cpp b/modules/extra/ns_set_misc.cpp index dc420e36d..72b4ba5e9 100644 --- a/modules/extra/ns_set_misc.cpp +++ b/modules/extra/ns_set_misc.cpp @@ -35,17 +35,17 @@ class CommandNSSetMisc : public Command if (params.size() > 1) { nc->Extend("nickserv:" + this->name, new ExtensibleItemRegular<Anope::string>(params[1])); - u->SendMessage(NickServ, CHAN_SETTING_CHANGED, this->name.c_str(), nc->display.c_str(), params[1].c_str()); + u->SendMessage(NickServ, LanguageString::CHAN_SETTING_CHANGED, this->name.c_str(), nc->display.c_str(), params[1].c_str()); } else - u->SendMessage(NickServ, CHAN_SETTING_UNSET, this->name.c_str(), nc->display.c_str()); + u->SendMessage(NickServ, LanguageString::CHAN_SETTING_UNSET, this->name.c_str(), nc->display.c_str()); return MOD_CONT; } void OnSyntaxError(CommandSource &source, const Anope::string &) { - SyntaxError(source, "SET", NICK_SET_SYNTAX); + SyntaxError(source, "SET", LanguageString::NICK_SET_SYNTAX); } void OnServHelp(CommandSource &source) @@ -63,7 +63,7 @@ class CommandNSSASetMisc : public CommandNSSetMisc void OnSyntaxError(CommandSource &source, const Anope::string &) { - SyntaxError(source, "SASET", NICK_SASET_SYNTAX); + SyntaxError(source, "SASET", LanguageString::NICK_SASET_SYNTAX); } }; |
