diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -201,7 +201,15 @@ int createconfigfile(char *filename) { "\n" "# Base directory (defaults to $HOME/.blabouncer/)\n" "# Things such as the logs directory will be placed below this\n" - "#basedir = \"/home/foo/.blabouncer/\"\n"; + "#basedir = \"/home/foo/.blabouncer/\"\n" + "\n" + "# Enable logging (\"1\" for yes or \"0\" for no)\n" + "# Logs go to basedir/logs/ with one file per channel/nick\n" + "logging = \"1\"\n" + "\n" + "# Enable replay logging (\"1\" for yes or \"0\" for no)\n" + "# Replay log goes to basedir/replay.log\n" + "replaylogging = \"1\"\n"; // Write complete string to file if ((fprintf(fp, string)) < 0) { |