TNetwork: Use 'K' packet instead of 'E' to kick players

This commit is contained in:
Lion Kortlepel
2021-10-02 01:44:13 +02:00
parent d027f7f29f
commit 577d4c429d

View File

@@ -447,7 +447,7 @@ std::string TNetwork::TCPRcv(TClient& c) {
void TNetwork::ClientKick(TClient& c, const std::string& R) {
beammp_info("Client kicked: " + R);
if (!TCPSend(c, "E" + R)) {
if (!TCPSend(c, "K" + R)) {
// TODO handle
}
c.SetStatus(-2);