summaryrefslogtreecommitdiff
path: root/modules/core/cs_set_description.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-26 17:54:03 -0500
committerAdam <Adam@anope.org>2011-02-26 17:54:03 -0500
commitf234a2bfab8a4d900cfc0df91afed530d80738d4 (patch)
tree0224eb342a7d60cee86995bd87910f858d7a2e53 /modules/core/cs_set_description.cpp
parent28d17a40cef64783addf177fa30fb267db2cbde7 (diff)
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
Diffstat (limited to 'modules/core/cs_set_description.cpp')
-rw-r--r--modules/core/cs_set_description.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/cs_set_description.cpp b/modules/core/cs_set_description.cpp
index c0a7a5093..deebd5d1b 100644
--- a/modules/core/cs_set_description.cpp
+++ b/modules/core/cs_set_description.cpp
@@ -46,7 +46,7 @@ class CommandCSSetDescription : public Command
void OnSyntaxError(CommandSource &source, const Anope::string &)
{
// XXX
- SyntaxError(source, "SET", LanguageString::CHAN_SET_SYNTAX);
+ SyntaxError(source, "SET", _(CHAN_SET_SYNTAX));
}
};
@@ -60,7 +60,7 @@ class CommandCSSASetDescription : public CommandCSSetDescription
void OnSyntaxError(CommandSource &source, const Anope::string &)
{
// XXX
- SyntaxError(source, "SASET", LanguageString::CHAN_SASET_SYNTAX);
+ SyntaxError(source, "SASET", _(CHAN_SASET_SYNTAX));
}
};