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

Method Init

server/src/netban.cpp:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void CNetBan::Init()
343{
344 m_BanAddrPool.Reset();
345 m_BanRangePool.Reset();
346
347 net_host_lookup("localhost", &m_LocalhostIPV4, NETTYPE_IPV4);
348 net_host_lookup("localhost", &m_LocalhostIPV6, NETTYPE_IPV6);
349}
350
351void CNetBan::Update()
352{

Callers 2

AcceptClientMethod · 0.45
RunMethod · 0.45

Calls 2

net_host_lookupFunction · 0.85
ResetMethod · 0.45

Tested by

no test coverage detected