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

Function SV_UpdateUserinfo_f

code/server/sv_client.cpp:307–313  ·  view source on GitHub ↗

================== SV_UpdateUserinfo_f ================== */

Source from the content-addressed store, hash-verified

305==================
306*/
307static void SV_UpdateUserinfo_f( client_t *cl ) {
308 Q_strncpyz( cl->userinfo, Cmd_Argv(1), sizeof(cl->userinfo) );
309
310 SV_UserinfoChanged( cl );
311 // call prog code to allow overrides
312 ge->ClientUserinfoChanged( cl - svs.clients );
313}
314
315typedef struct {
316 const char *name;

Callers

nothing calls this directly

Calls 3

Q_strncpyzFunction · 0.85
SV_UserinfoChangedFunction · 0.70
Cmd_ArgvFunction · 0.50

Tested by

no test coverage detected