summaryrefslogtreecommitdiff
path: root/src/master/servers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/master/servers.h')
-rw-r--r--src/master/servers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/master/servers.h b/src/master/servers.h
index fbeef1c2..8165b66b 100644
--- a/src/master/servers.h
+++ b/src/master/servers.h
@@ -38,6 +38,9 @@
#define CHALLENGE_MIN_LENGTH 9
#define CHALLENGE_MAX_LENGTH 12
+// Minimum number of seconds between gamestat messages per server
+#define MIN_GAMESTAT_DELAY 120
+
// ---------- Types ---------- //
// Address mapping
@@ -63,6 +66,7 @@ typedef struct server_s
time_t challenge_timeout;
const struct addrmap_s* addrmap;
qboolean active;
+ time_t lastGameStat;
} server_t;