diff options
| author | Luke Bratch <luke@bratch.co.uk> | 2021-01-18 21:51:00 +0000 | 
|---|---|---|
| committer | Luke Bratch <luke@bratch.co.uk> | 2021-01-18 21:51:00 +0000 | 
| commit | a16d9bdecb572bb266a84ec90767d613ce8ce255 (patch) | |
| tree | 865c745fab117969647ea722334f35304595a7d5 /config.c | |
| parent | 323e273bc7dbc2b244e536a10b6c370651c76b8a (diff) | |
Make the "channels" configuration file entry an array.
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 9 | 
1 files changed, 6 insertions, 3 deletions
@@ -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"  | 
