summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2021-01-18 21:51:00 +0000
committerLuke Bratch <luke@bratch.co.uk>2021-01-18 21:51:00 +0000
commita16d9bdecb572bb266a84ec90767d613ce8ce255 (patch)
tree865c745fab117969647ea722334f35304595a7d5 /config.c
parent323e273bc7dbc2b244e536a10b6c370651c76b8a (diff)
Make the "channels" configuration file entry an array.
Diffstat (limited to 'config.c')
-rw-r--r--config.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.c b/config.c
index 5b706b0..3fa28a7 100644
--- a/config.c
+++ b/config.c
@@ -344,9 +344,12 @@ int createconfigfile(char *filename) {
"username = \"bounceusr\"\n"
"realname = \"Mr Bla Bouncer\"\n"
"\n"
- "# Channels to automatically join (comma-separated list, defaults to none)\n"
- "# Put channel keywords/passwords after channel names following a space.\n"
- "#channels = \"#blabouncer keyword,#test\"\n"
+ "# Channels to automatically join (defaults to none)\n"
+ "# Put channel keys/passwords after channel names (separated with a space)\n"
+ "channels = {\n"
+ " \"#blabouncer keyword\"\n"
+ " \"#test\"\n"
+ "}\n"
"\n"
"# Auto replay mode upon a bouncer client connecting\n"
"# \"none\" = Don't auto replay\n"