MCPcopy Create free account
hub / github.com/cppla/ServerStatus / UnbanByRange

Method UnbanByRange

server/src/netban.cpp:390–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390int CNetBan::UnbanByRange(const CNetRange *pRange)
391{
392 if(pRange->IsValid())
393 return Unban(&m_BanRangePool, pRange);
394
395 dbg_msg("net_ban", "ban failed (invalid range)");
396 return -1;
397}
398
399int CNetBan::UnbanByIndex(int Index)
400{

Callers

nothing calls this directly

Calls 2

dbg_msgFunction · 0.85
IsValidMethod · 0.80

Tested by

no test coverage detected