mirror of
https://github.com/anope/anope.git
synced 2026-07-05 21:13:13 +02:00
changed some _() to gtl() and updated do_strftime() and duration()
This commit is contained in:
+2
-2
@@ -793,7 +793,7 @@ bool ChannelInfo::CheckKick(User *user)
|
||||
if (!user->HasMode(UMODE_OPER) && this->HasFlag(CI_SUSPENDED))
|
||||
{
|
||||
get_idealban(this, user, mask);
|
||||
reason = GetString(user->Account(), _("This channel may not be used."));
|
||||
reason = GetString(user->Account(), gtl("This channel may not be used."));
|
||||
set_modes = true;
|
||||
do_kick = true;
|
||||
}
|
||||
@@ -837,7 +837,7 @@ bool ChannelInfo::CheckKick(User *user)
|
||||
if (!do_kick && check_access(user, this, CA_NOJOIN))
|
||||
{
|
||||
get_idealban(this, user, mask);
|
||||
reason = GetString(user->Account(), _(CHAN_NOT_ALLOWED_TO_JOIN));
|
||||
reason = GetString(user->Account(), CHAN_NOT_ALLOWED_TO_JOIN);
|
||||
do_kick = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user