mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
More commentary to source code
This commit is contained in:
parent
6e79cfbae2
commit
f2d63c1633
1 changed files with 25 additions and 1 deletions
|
@ -595,7 +595,7 @@ static void SV_RehashBans_f(void)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
==================
|
==================
|
||||||
SV_BanAddr_f
|
SV_AddBanToList
|
||||||
|
|
||||||
Ban a user from being able to play on this server based on his ip address.
|
Ban a user from being able to play on this server based on his ip address.
|
||||||
==================
|
==================
|
||||||
|
@ -715,6 +715,14 @@ static void SV_AddBanToList(qboolean isexception)
|
||||||
serverBansCount++;
|
serverBansCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
==================
|
||||||
|
SV_DelBanFromList
|
||||||
|
|
||||||
|
Remove a ban or an exception from the list.
|
||||||
|
==================
|
||||||
|
*/
|
||||||
|
|
||||||
static void SV_DelBanFromList(qboolean isexception)
|
static void SV_DelBanFromList(qboolean isexception)
|
||||||
{
|
{
|
||||||
int index, count, todel;
|
int index, count, todel;
|
||||||
|
@ -774,6 +782,14 @@ static void SV_DelBanFromList(qboolean isexception)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
==================
|
||||||
|
SV_ListBans_f
|
||||||
|
|
||||||
|
List all bans and exceptions on console
|
||||||
|
==================
|
||||||
|
*/
|
||||||
|
|
||||||
static void SV_ListBans_f(void)
|
static void SV_ListBans_f(void)
|
||||||
{
|
{
|
||||||
int index, count;
|
int index, count;
|
||||||
|
@ -805,6 +821,14 @@ static void SV_ListBans_f(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
==================
|
||||||
|
SV_FlushBans_f
|
||||||
|
|
||||||
|
Delete all bans and exceptions.
|
||||||
|
==================
|
||||||
|
*/
|
||||||
|
|
||||||
static void SV_FlushBans_f(void)
|
static void SV_FlushBans_f(void)
|
||||||
{
|
{
|
||||||
fileHandle_t blankf;
|
fileHandle_t blankf;
|
||||||
|
|
Loading…
Reference in a new issue