summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-27 12:55:32 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-27 12:55:32 +0100
commitcf27363f56e2ba4cf91d2bcfde3b1017237068eb (patch)
tree06475f6e21933be1b05618a7b1c32a005c1d15e6
parent0b1417faa0820847d4674d496dfeb069787c3ab2 (diff)
Explain how to auto-join keyworded/passworded channels in the configuration file.
-rw-r--r--TODO2
-rw-r--r--blabouncer.conf.example3
-rw-r--r--config.c3
3 files changed, 4 insertions, 4 deletions
diff --git a/TODO b/TODO
index ba948f0..3d03946 100644
--- a/TODO
+++ b/TODO
@@ -15,8 +15,6 @@ Allow connecting to a passworded server.
Might need to #include <limits.h> in blabouncer.c to make some operating systems and/or compilers happy.
-Support autojoining passworded channels.
-
Test CTCP.
Reconnect server if we get disconnected for some reason.
diff --git a/blabouncer.conf.example b/blabouncer.conf.example
index 805534d..3aa8a7f 100644
--- a/blabouncer.conf.example
+++ b/blabouncer.conf.example
@@ -15,7 +15,8 @@ username = "bounceusr"
realname = "Mr Bla Bouncer"
# Channels to automatically join (comma-separated list, defaults to none)
-#channels = "#blabouncer,#test"
+# Put channel keywords/passwords after channel names following a space.
+#channels = "#blabouncer keyword,#test"
# How many seconds of replay log should be sent to connecting clients
replayseconds = "600"
diff --git a/config.c b/config.c
index 798ad82..34462d3 100644
--- a/config.c
+++ b/config.c
@@ -176,7 +176,8 @@ int createconfigfile(char *filename) {
"realname = \"Mr Bla Bouncer\"\n"
"\n"
"# Channels to automatically join (comma-separated list, defaults to none)\n"
- "#channels = \"#blabouncer,#test\"\n"
+ "# Put channel keywords/passwords after channel names following a space.\n"
+ "#channels = \"#blabouncer keyword,#test\"\n"
"\n"
"# How many seconds of replay log should be sent to connecting clients\n"
"replayseconds = \"600\"\n"