MaxPing variable not filled in correctly when autokick for maxping

When someone has a ping greater than maxPing the kick message is:

Your ping 419 was higher than {maxPing}

I think `maPing` needs to be `maxPing` on this line:

KickPlayer(player.Id, GetMsg("Your Ping is too High", new Dictionary<string, string> { ["ping"] = player.Ping.ToString(), ["maPing"] = config.AutoKickMaxPing.ToString() }), "C");

Kind regards,

Kaj

 

Thank you!