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

Function localconnect

source/src/server.cpp:4853–4864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4851}
4852
4853void localconnect()
4854{
4855 modprotocol = false;
4856 servstate.reset();
4857 client &c = addclient();
4858 c.type = ST_LOCAL;
4859 c.role = CR_ADMIN;
4860 c.salt = 0;
4861 c.needsauth = false;
4862 copystring(c.hostname, "local");
4863 sendservinfo(c);
4864}
4865#endif
4866
4867void processmasterinput(const char *cmd, int cmdlen, const char *args)

Callers 2

disconnectFunction · 0.85
main.cppFile · 0.85

Calls 3

copystringFunction · 0.85
sendservinfoFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected