mark functions static (#4010)
This commit is contained in:
parent
f0e24f9a46
commit
bbd9f02d08
7 changed files with 43 additions and 43 deletions
|
@ -518,7 +518,7 @@ SV_RehashBans_f
|
|||
Load saved bans from file.
|
||||
==================
|
||||
*/
|
||||
void SV_RehashBans_f(void)
|
||||
static void SV_RehashBans_f(void)
|
||||
{
|
||||
int index, filelen;
|
||||
fileHandle_t readfrom;
|
||||
|
@ -569,7 +569,7 @@ void SV_RehashBans_f(void)
|
|||
|
||||
if(NET_StringToAdr(curpos + 2, &serverBans[index].ip, NA_UNSPEC))
|
||||
{
|
||||
serverBans[index].isexception = !(curpos[0] == '0');
|
||||
serverBans[index].isexception = (curpos[0] != '0');
|
||||
serverBans[index].subnet = atoi(maskpos);
|
||||
|
||||
if(serverBans[index].ip.type == NA_IP &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue