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

Function checkgban

source/src/server.cpp:2481–2485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2479}
2480
2481bool checkgban(uint ip)
2482{
2483 loopv(gbans) if((ip & gbans[i].mask) == gbans[i].ip) return true;
2484 return false;
2485}
2486
2487void addgban(const char *name)
2488{

Callers 2

loopvrevFunction · 0.85
getbantypeFunction · 0.85

Calls 1

loopvFunction · 0.70

Tested by

no test coverage detected