diff options
| author | Adam <Adam@anope.org> | 2011-02-26 17:54:03 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-02-26 17:54:03 -0500 |
| commit | f234a2bfab8a4d900cfc0df91afed530d80738d4 (patch) | |
| tree | 0224eb342a7d60cee86995bd87910f858d7a2e53 /src/regchannel.cpp | |
| parent | 28d17a40cef64783addf177fa30fb267db2cbde7 (diff) | |
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index a04cb54df..f9e9aed96 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -793,7 +793,7 @@ bool ChannelInfo::CheckKick(User *user) if (!do_kick && check_access(user, this, CA_NOJOIN)) { get_idealban(this, user, mask); - reason = GetString(user->Account(), LanguageString::CHAN_NOT_ALLOWED_TO_JOIN); + reason = GetString(user->Account(), _(CHAN_NOT_ALLOWED_TO_JOIN)); do_kick = true; } |
