summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-18 22:50:18 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-18 22:50:18 +0100
commit7764645c80ed542095b97eaa119d2df6340b0330 (patch)
treea6b9de19b51d67449d49edd760e8e7db1d734b9a /config.c
parentc47b5a1531fe0e2a3b00c4a5ec80a4dc4cbe2428 (diff)
Handle nick in use or invalid nick, add multiple nicks to configuration file to automatically try.
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.c b/config.c
index 60bac19..2f790a5 100644
--- a/config.c
+++ b/config.c
@@ -166,7 +166,9 @@ int createconfigfile(char *filename) {
"# realname = \"Mr Bla Bouncer\"\n"
"\n"
"nick = \"blabounce\"\n"
- "username = \"blabounce\"\n"
+ "nick2 = \"bbounce2\"\n"
+ "nick3 = \"bbounce3\"\n"
+ "username = \"bounceusr\"\n"
"realname = \"Mr Bla Bouncer\"\n"
"\n"
"# How many seconds of replay log should be sent to connecting clients\n"