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

Function afterauth

source/src/main.cpp:1132–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130int bakshowmenuonstartup = -1;
1131static char *aaconnect = NULL;
1132void afterauth()
1133{
1134 // currently only for delayed connectprotocol
1135 if(aaconnect)
1136 {
1137 conoutf("\fUAfter Auth");
1138 if(bakshowmenuonstartup > -1)
1139 {
1140 alias("showmenuonstartup",bakshowmenuonstartup==1?"1":"0",false,false);
1141 }
1142 }
1143 if(aaconnect)
1144 {
1145 connectprotocol(aaconnect);
1146 DELSTRING(aaconnect);
1147 }
1148}
1149
1150#ifdef THISISNOTDEFINED //WIN32
1151static char *parsecommandline(const char *src, vector<char *> &args)

Callers 1

main.cppFile · 0.85

Calls 3

aliasFunction · 0.85
connectprotocolFunction · 0.85
conoutfFunction · 0.70

Tested by

no test coverage detected