mark functions static (#4010)
This commit is contained in:
1 parent
f0e24f9a46
commit
bbd9f02d08
7 files changed
+43
-43
No files matched your search
@@ -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 &&
|
||||
|
||||
Reference in new issue
Block a user