diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-09-14 20:44:32 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-09-14 20:44:32 +0100 |
commit | 4dea4c16313ba3d1575cfa6722d75492c907f551 (patch) | |
tree | cade95813a471e3aa4597a5a35e907e2cd675181 /config.c | |
parent | e1f41810ac85a0d210062ed33f43938dc4b03be4 (diff) |
Specify multiple nicks using a configuration array instead of multiple individual settings.
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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" |