mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-25 21:40:09 +00:00
log any and every time we closesocket
This commit is contained in:
1 parent
583819070b
commit
c9f5ee9729
3 files changed
+6
No files matched your search
@@ -347,6 +347,7 @@ int lua_dropPlayer(lua_State* L) {
|
||||
}
|
||||
Respond(c, "C:Server:You have been Kicked from the server! " + Reason, true);
|
||||
c->SetStatus(-2);
|
||||
info(Sec("Closing socket due to kick"));
|
||||
closesocket(c->GetTCPSock());
|
||||
|
||||
} else
|
||||
|
||||
Reference in new issue
Block a user