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

Method BanAddr

src/engine/server/server.cpp:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131int CServerBan::BanAddr(const NETADDR *pAddr, int Seconds, const char *pReason, bool VerbatimReason)
132{
133 return BanExt(&m_BanAddrPool, pAddr, Seconds, pReason, VerbatimReason);
134}
135
136int CServerBan::BanRange(const CNetRange *pRange, int Seconds, const char *pReason)
137{

Callers 5

ConBanExtMethod · 0.45
BanMethod · 0.45
ProcessClientPacketMethod · 0.45
OnNetMsgRconAuthMethod · 0.45
RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected