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

Method IsValid

server/src/netban.h:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 NETADDR m_UB;
16
17 bool IsValid() const { return m_LB.type == m_UB.type && NetComp(&m_LB, &m_UB) < 0; }
18};
19
20inline int NetComp(const CNetRange *pRange1, const CNetRange *pRange2)

Callers 2

BanRangeMethod · 0.80
UnbanByRangeMethod · 0.80

Calls 1

NetCompFunction · 0.85

Tested by

no test coverage detected