summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.c b/config.c
index a5d9c2f..60bac19 100644
--- a/config.c
+++ b/config.c
@@ -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) {