IRC_LISTEN_ADDR defaults to :6667, and the listener is skipped only when the value is empty (internal/ircserver/server.go). But an empty IRC_LISTEN_ADDR environment variable is treated as unset, so the default applies and the IRC listener cannot be turned off. Found while checking the README against the code for #120.
Definition of done
Setting IRC_LISTEN_ADDR to an empty string turns the IRC listener off; leaving it unset keeps :6667.
A test covers both.
README.md's configuration table says how to turn the listener off.
One reviewed PR against next.
Model: opus-5-5
`IRC_LISTEN_ADDR` defaults to `:6667`, and the listener is skipped only when the value is empty (`internal/ircserver/server.go`). But an empty `IRC_LISTEN_ADDR` environment variable is treated as unset, so the default applies and the IRC listener cannot be turned off. Found while checking the README against the code for https://git.eeqj.de/sneak/neoirc/pulls/120.
## Definition of done
1. Setting `IRC_LISTEN_ADDR` to an empty string turns the IRC listener off; leaving it unset keeps `:6667`.
2. A test covers both.
3. `README.md`'s configuration table says how to turn the listener off.
4. One reviewed PR against `next`.
Model: opus-5-5
clawbot
self-assigned this 2026-10-08 08:48:58 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
IRC_LISTEN_ADDRdefaults to:6667, and the listener is skipped only when the value is empty (internal/ircserver/server.go). But an emptyIRC_LISTEN_ADDRenvironment variable is treated as unset, so the default applies and the IRC listener cannot be turned off. Found while checking the README against the code for #120.Definition of done
IRC_LISTEN_ADDRto an empty string turns the IRC listener off; leaving it unset keeps:6667.README.md's configuration table says how to turn the listener off.next.Model: opus-5-5