Defer JOIN until NickServ login confirmed (fixes +r channel 477)
This commit is contained in:
parent
841a152436
commit
52e579e364
2 changed files with 39 additions and 7 deletions
17
memory.md
17
memory.md
|
|
@ -17,11 +17,16 @@ Durable memory for this project. Read at session start, update before session en
|
|||
|
||||
## Open questions / TODOs
|
||||
|
||||
- [ ] Live-test against Libera (join `#r.trees`, exercise commands). Not yet run.
|
||||
- [ ] Exercise the `!` commands live in-channel (connect + join verified; command
|
||||
round-trip not yet tested with a second client).
|
||||
- [ ] Decide whether `!delquote` should be restricted to ops/admins (currently
|
||||
anyone can delete). Fine for a trusted channel; revisit if abused.
|
||||
- [ ] Consider registering the `treesquotes` nick with NickServ if the channel
|
||||
blocks unregistered users.
|
||||
|
||||
## Resolved
|
||||
|
||||
- `#r.trees` is `+r` (registered-nicks-only). Nick `treesquotes` is registered &
|
||||
NickServ-verified under megaproxy@gmail.com. Password lives in gitignored
|
||||
`config.env` (`IRC_NICKSERV_PASS`). Bot identifies and joins successfully.
|
||||
|
||||
## Session log
|
||||
|
||||
|
|
@ -30,7 +35,11 @@ Durable memory for this project. Read at session start, update before session en
|
|||
- Wrote `bot.py`: stdlib IRC client (TLS, PING/PONG, reconnect, nick fallback),
|
||||
`QuoteStore` SQLite wrapper, and `!` command handlers.
|
||||
- Added `README.md`, `config.example.env`; gitignored `quotes.db`/`config.env`.
|
||||
- Syntax-checked with `py_compile` (Python 3.12.3). Not yet live-tested on IRC.
|
||||
- Syntax-checked with `py_compile` (Python 3.12.3).
|
||||
- Live-tested against Libera: discovered `#r.trees` is `+r`. Registered/verified
|
||||
the `treesquotes` nick. Fixed a join race — bot was sending JOIN before the
|
||||
NickServ login landed and getting bounced (477); now defers JOIN until the
|
||||
`900`/"now identified" confirmation. Verified join succeeds (got 353/366).
|
||||
|
||||
## External references
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue