mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
TNetwork: Use 'K' packet instead of 'E' to kick players
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user