Use localized "too many login attempts" string
This is primarily a test of the rube goldberg machine but also, productive work.
This commit is contained in:
parent
959b3cca24
commit
1646c5e5fd
1 changed files with 1 additions and 1 deletions
|
|
@ -769,7 +769,7 @@ namespace TShockAPI
|
|||
{
|
||||
TShock.Log.Warn(String.Format("{0} ({1}) had {2} or more invalid login attempts and was kicked automatically.",
|
||||
args.Player.IP, args.Player.Name, TShock.Config.Settings.MaximumLoginAttempts));
|
||||
args.Player.Kick("Too many invalid login attempts.");
|
||||
args.Player.Kick(I18n.C.GetString("Too many invalid login attempts."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue