summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-14 20:44:32 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-14 20:44:32 +0100
commit4dea4c16313ba3d1575cfa6722d75492c907f551 (patch)
treecade95813a471e3aa4597a5a35e907e2cd675181 /config.c
parente1f41810ac85a0d210062ed33f43938dc4b03be4 (diff)
Specify multiple nicks using a configuration array instead of multiple individual settings.
Diffstat (limited to 'config.c')
-rw-r--r--config.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/config.c b/config.c
index 842f389..5b706b0 100644
--- a/config.c
+++ b/config.c
@@ -333,9 +333,14 @@ int createconfigfile(char *filename) {
"#\n"
"# Some settings can be reloaded at runtime, please refer to README for details.\n"
"\n"
- "nick = \"blabounce\"\n"
- "nick2 = \"bbounce2\"\n"
- "nick3 = \"bbounce3\"\n"
+ "# Nick(s) to use when connecting - will be cycled through in order in the event of\n"
+ "# a nick being in use or invalid\n"
+ "nicks = {\n"
+ " \"blabounce\"\n"
+ " \"bbounce2\"\n"
+ " \"bbounce3\"\n"
+ "}\n"
+ "\n"
"username = \"bounceusr\"\n"
"realname = \"Mr Bla Bouncer\"\n"
"\n"