summaryrefslogtreecommitdiff
path: root/modules/core/cs_invite.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_invite.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_invite.cpp')
-rw-r--r--modules/core/cs_invite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/core/cs_invite.cpp b/modules/core/cs_invite.cpp
index 986d5c5ea..55efd6edf 100644
--- a/modules/core/cs_invite.cpp
+++ b/modules/core/cs_invite.cpp
@@ -31,7 +31,7 @@ class CommandCSInvite : public Command
if (!(c = findchan(chan)))
{
- source.Reply(LanguageString::CHAN_X_NOT_IN_USE, chan.c_str());
+ source.Reply(_(CHAN_X_NOT_IN_USE), chan.c_str());
return MOD_CONT;
}
@@ -39,7 +39,7 @@ class CommandCSInvite : public Command
if (!check_access(u, ci, CA_INVITE))
{
- source.Reply(LanguageString::ACCESS_DENIED);
+ source.Reply(_(ACCESS_DENIED));
return MOD_CONT;
}
@@ -50,7 +50,7 @@ class CommandCSInvite : public Command
{
if (!(u2 = finduser(params[1])))
{
- source.Reply(LanguageString::NICK_X_NOT_IN_USE, params[1].c_str());
+ source.Reply(_(NICK_X_NOT_IN_USE), params[1].c_str());
return MOD_CONT;
}
}