diff options
author | Luke Bratch <luke@bratch.co.uk> | 2025-08-11 23:02:08 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2025-08-11 23:02:08 +0100 |
commit | 2a1d4b2e958de1581e9bda7b07b705b963e394a6 (patch) | |
tree | db66b6cd7f3441a244469c57b35dcab65b3f5353 /structures.h | |
parent | 0e7f232b3d5ecb484d9d91bdd7e4b6d4e7791585 (diff) |
Implement update checking using the command "BLABOUNCER UPDATECHECK", or optionally (enabled by default, toggled with configuration option "checkupdates") at startup and successful client authentication.HEADmaster
This is implemented using a DNS TXT record check to the domain "version.blabouncer.blatech.net".
Diffstat (limited to 'structures.h')
-rw-r--r-- | structures.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/structures.h b/structures.h index c4d20e0..86f83b7 100644 --- a/structures.h +++ b/structures.h @@ -90,6 +90,7 @@ struct settings { int alertauthsuccess; int alertunautheddisconnect; int alertautheddisconnect; + int checkupdates; }; // Structure of a connected client, their socket/file descriptors, their authentication status, and their OpenSSL structures |