MCPcopy Create free account
hub / github.com/JACoders/OpenJK / SV_GameDropClient

Function SV_GameDropClient

code/server/sv_game.cpp:122–127  ·  view source on GitHub ↗

=============== SV_GameDropClient Disconnects the client with a message =============== */

Source from the content-addressed store, hash-verified

120===============
121*/
122void SV_GameDropClient( int clientNum, const char *reason ) {
123 if ( clientNum < 0 || clientNum >= 1 ) {
124 return;
125 }
126 SV_DropClient( svs.clients + clientNum, reason );
127}
128
129
130/*

Callers

nothing calls this directly

Calls 1

SV_DropClientFunction · 0.70

Tested by

no test coverage detected