Xonotic
|
Go to the source code of this file.
Functions | |
float | Ban_Delete (float i) |
float | Ban_Insert (string ip, float bantime, string reason, float dosync) |
void | Ban_KickBanClient (entity client, float bantime, float masksize, string reason) |
void | Ban_LoadBans () |
float | Ban_MaybeEnforceBan (entity client) |
float | Ban_MaybeEnforceBanOnce (entity client) |
void | Ban_SaveBans () |
void | Ban_View () |
float | BanCommand (string command) |
void | OnlineBanList_URI_Get_Callback (float id, float status, string data) |
Definition at line 286 of file ipban.qc.
References ban_count, ban_expire, ban_ip, Ban_SaveBans(), OnlineBanList_SendUnban(), and strunzone().
Referenced by Ban_Insert(), Ban_LoadBans(), and BanCommand_unban().
Definition at line 505 of file ipban.qc.
References ban_count, Ban_Delete(), Ban_Enforce(), ban_expire, ban_ip, BAN_MAX, Ban_SaveBans(), ftos(), LOG_INFO, LOG_TRACE, max(), OnlineBanList_SendBan(), strzone(), substring(), and time.
Referenced by Ban_KickBanClient(), BanCommand_ban(), and OnlineBanList_URI_Get_Callback().
Definition at line 582 of file ipban.qc.
References Ban_GetClientIP(), ban_idfp, Ban_Insert(), ban_ip1, ban_ip2, ban_ip3, ban_ip4, sprint(), strcat(), and string_null.
Referenced by BanCommand_kickban().
void Ban_LoadBans | ( | ) |
Definition at line 305 of file ipban.qc.
References argv(), autocvar_g_banned_list, ban_count, Ban_Delete(), ban_expire, ban_ip, ban_loaded, entity(), OnlineBanList_Think(), setthink, stof(), strzone(), time, and tokenize_console.
Referenced by Ban_IsClientBanned(), and spawnfunc().
Definition at line 451 of file ipban.qc.
References autocvar_g_ban_telluser, Ban_IsClientBanned(), LOG_INFOF, and sprint().
Referenced by Ban_MaybeEnforceBanOnce().
Definition at line 471 of file ipban.qc.
References Ban_MaybeEnforceBan().
Referenced by ClientConnect(), and SV_ParseClientCommand().
void Ban_SaveBans | ( | ) |
Definition at line 263 of file ipban.qc.
References ban_count, ban_expire, ban_ip, ban_loaded, cvar_set(), ftos(), strcat(), strlen(), and time.
Referenced by Ban_Delete(), Ban_Insert(), and Shutdown().
void Ban_View | ( | ) |
Definition at line 328 of file ipban.qc.
References ban_count, ban_expire, ban_ip, ftos(), LOG_INFO, strcat(), and time.
Referenced by BanCommand_banlist().
Definition at line 316 of file banning.qc.
References BanCommand_macro_command(), and tokenize_console.
Referenced by GameCommand().
Definition at line 79 of file ipban.qc.
References argv(), autocvar_g_ban_sync_interval, autocvar_g_ban_sync_timeout, autocvar_g_ban_sync_trusted_servers_verify, autocvar_g_ban_sync_uri, Ban_Insert(), ftos(), LABEL, LOG_INFO, LOG_TRACE, MAX_IPBAN_URIS, min(), OnlineBanList_RequestWaiting, OnlineBanList_Servers, OnlineBanList_Timeout, stof(), strcat(), strlen(), strstrofs, substring(), time, tokenize_console, tokenizebyseparator, and URI_GET_IPBAN.
Referenced by URI_Get_Callback().