Enable configured channel autojoin by default

This commit is contained in:
Johannes Findeisen 2026-12-03 01:11:14 +01:00
commit 4ad0f4987e
4 changed files with 16 additions and 47 deletions

View file

@ -67,7 +67,7 @@ name Libera Chat
# blacklist user1,user2,user3
# sasl irc9user my-sasl-password
# autocommand /query user1,/query user2
# Build with make -B AUTOJOIN=1 and uncomment channel lines to join at startup.
# Uncomment channel lines to join at startup.
# Each channel line applies to the server above it.
# Optional comma-separated slash commands run after the channel join succeeds.
# irc9 waits two seconds between commands on the same line.
@ -112,7 +112,7 @@ the next command. The first command can also use raw IRC syntax, as in
The sequence runs once per successful registration, including reconnects, after
SASL negotiation when configured and before startup channel joins.
To enable startup channel joins, build with `make -B AUTOJOIN=1`. Add one
To join channels automatically at startup, add one
`channel #name` line per channel below the corresponding `server` line.
After registration, irc9 sends one startup JOIN every two seconds per server.
Add comma-separated slash commands after the channel name, for example
@ -120,7 +120,6 @@ Add comma-separated slash commands after the channel name, for example
The first command runs when the server confirms the join. irc9 waits two seconds
between commands on the same line and runs them in the joined channel's context.
A comma followed by a slash, with optional spaces or tabs between them, starts the next command.
Default builds ignore `channel` lines. Use `make -B` to rebuild with autojoin disabled.
Blank lines and whole-line comments starting with `#` are ignored.
TLS certificates are verified against a system CA bundle when one is found.
@ -174,8 +173,8 @@ MODE, TOPIC, and INVITE events are shown in the relevant window.
| --- | --- |
| `Tab` | complete a `/` command or a nick; press again to cycle matches (recently completed nicks come first) |
| `Ctrl+Left` / `Ctrl+Right` | move to the previous / next word in the input line |
| `Ctrl+Y` | hide or show the channel tree and channel topic |
| `Ctrl+PgUp` / `Ctrl+PgDn` | scroll the channel tree by one row |
| `Ctrl+Y` | hide or show the channel tree and channel topic |
| `Ctrl+N` or `Ctrl+Down` / `Ctrl+P` or `Ctrl+Up` | next / previous visible window (tree order, wraps around) |
| Enter | with empty input, fold or unfold a server, or toggle a chat’s sticky status (`*` after its name) |
| `Ctrl+O` | toggle hiding inactive channels and private chats with no unread messages. Active and sticky chats stay visible when their server is unfolded |