From a16d9bdecb572bb266a84ec90767d613ce8ce255 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Mon, 18 Jan 2021 21:51:00 +0000 Subject: Make the "channels" configuration file entry an array. --- config.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config.c') 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" -- cgit v1.2.3