Merge pull request #3144 from ACaiCat/chore-noshow-kick-message
chore: silent kick on invalid client connection
This commit is contained in:
commit
9938cc26e1
1 changed files with 1 additions and 1 deletions
|
|
@ -1461,7 +1461,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
if (!tsplr.FinishedHandshake)
|
if (!tsplr.FinishedHandshake)
|
||||||
{
|
{
|
||||||
tsplr.Kick(GetString("Your client didn't send the right connection information."), true);
|
tsplr.Kick(GetString("Your client didn't send the right connection information."), true, true);
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue