mirror of
https://github.com/anope/anope.git
synced 2026-07-01 07:56:39 +02:00
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user