summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2026-02-14 11:42:22 +0000
committerLuke Bratch <luke@bratch.co.uk>2026-02-14 11:42:22 +0000
commit22aef989975b4455cfd267f47e67e0ea4d1bac72 (patch)
treec05e343a45391f9204e6c111dbb8e79c4882b606
parent36179e624e04fd44e462d87f54037c9c4fbc46b3 (diff)
Add missing option to default config generator in config.c.HEADmaster
-rw-r--r--config.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.c b/config.c
index 9957e19..938b597 100644
--- a/config.c
+++ b/config.c
@@ -434,7 +434,11 @@ int createconfigfile(char *filename) {
"alertunautheddisconnect = \"1\"\n"
"\n"
"# Send NOTICE to all other clients upon authenticated client disconnections (\"1\" for yes or \"0\" for no)\n"
- "alertautheddisconnect = \"1\"\n";
+ "alertautheddisconnect = \"1\"\n"
+ "\n"
+ "# Check for updates upon startup and successful client authentication (\"1\" for yes or \"0\" for no)\n"
+ "# This sends a DNS TXT request to blatech.net, disable this if you do not wish for that to happen\n"
+ "checkupdates = \"1\"\n";
// Write complete string to file
if ((fprintf(fp, "%s", string)) < 0) {