summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index bd5cdc78..da99d44e 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -330,6 +330,10 @@ typedef struct
qboolean vote;
qboolean teamVote;
+ // flood protection
+ int floodDemerits;
+ int floodTime;
+
vec3_t lastDeathLocation;
char guid[ 33 ];
char ip[ 40 ];
@@ -1140,6 +1144,9 @@ extern vmCvar_t g_chatTeamPrefix;
extern vmCvar_t g_debugVoices;
extern vmCvar_t g_voiceChats;
+extern vmCvar_t g_floodMaxDemerits;
+extern vmCvar_t g_floodMinTime;
+
extern vmCvar_t g_shove;
extern vmCvar_t g_mapConfigs;