diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -419,7 +419,22 @@ int createconfigfile(char *filename) { "debug = \"2\"\n" "\n" "# Number of debug logs to keep\n" - "debugkeep = \"5\"\n"; + "debugkeep = \"5\"\n" + "\n" + "# Send NOTICE to all other clients upon new client connections (\"1\" for yes or \"0\" for no)\n" + "alertconnect = \"1\"\n" + "\n" + "# Send NOTICE to all other clients upon clients failing to authenticate (\"1\" for yes or \"0\" for no)\n" + "alertauthfail = \"1\"\n" + "\n" + "# Send NOTICE to all other clients upon clients succesfully authenticating (\"1\" for yes or \"0\" for no)\n" + "alertauthsuccess = \"1\"\n" + "\n" + "# Send NOTICE to all other clients upon unauthenticated client disconnections (\"1\" for yes or \"0\" for no)\n" + "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"; // Write complete string to file if ((fprintf(fp, "%s", string)) < 0) { |