MCPcopy Create free account
hub / github.com/ddnet/ddnet / BanAddr

Method BanAddr

src/engine/shared/netban.cpp:314–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314int CNetBan::BanAddr(const NETADDR *pAddr, int Seconds, const char *pReason, bool VerbatimReason)
315{
316 return Ban(&m_BanAddrPool, pAddr, Seconds, pReason, VerbatimReason);
317}
318
319int CNetBan::BanRange(const CNetRange *pRange, int Seconds, const char *pReason)
320{

Callers 2

ConBanMethod · 0.45
UpdateMethod · 0.45

Calls 1

BanClass · 0.85

Tested by

no test coverage detected