Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ checkban
Function
checkban
source/src/master.cpp:97–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
bool checkban(vector<baninfo> &bans, enet_uint32 host)
98
{
99
loopv(bans) if((host & bans[i].mask) == bans[i].ip) return true;
100
return false;
101
}
102
103
// for AUTH:
104
struct authreq
Callers
4
bangameservers
Function · 0.85
checkclientinput
Function · 0.85
checkclients
Function · 0.85
banclients
Function · 0.85
Calls
1
loopv
Function · 0.70
Tested by
no test coverage detected