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

Method StrAllnum

server/src/netban.cpp:4–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "netban.h"
3
4bool CNetBan::StrAllnum(const char *pStr)
5{
6 while(*pStr)
7 {
8 if(!(*pStr >= '0' && *pStr <= '9'))
9 return false;
10 pStr++;
11 }
12 return true;
13}
14
15
16CNetBan::CNetHash::CNetHash(const NETADDR *pAddr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected