MCPcopy Create free account
hub / github.com/assaultcube/AC / sendserveropinfo

Function sendserveropinfo

source/src/server.cpp:2544–2548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2542}
2543
2544void sendserveropinfo(int receiver)
2545{
2546 int op = serveroperator();
2547 sendf(receiver, 1, "riii", SV_SERVOPINFO, op, op >= 0 ? clients[op]->role : -1);
2548}
2549
2550#include "serveractions.h"
2551

Callers 2

changeclientroleFunction · 0.85
welcomepacketFunction · 0.85

Calls 2

serveroperatorFunction · 0.85
sendfFunction · 0.85

Tested by

no test coverage detected