Files
neoirc/internal/handlers
clawbot ca4dadf1eb
check / check (push) Canceled after 0s
Refuse a PRIVMSG or NOTICE whose body or meta has the wrong type (closes #245)
Over the HTTP API, a PRIVMSG or NOTICE body was checked only by
decoding it into a list of strings. JSON null decodes into an empty
string there, and meta was not checked at all, so a null line, or a
meta that is not an object, reached every recipient.

handlePrivmsg now answers 400 invalid request body, before anything
else, when body is present and is not an array of strings, or meta is
present and is not an object. A missing or empty body still gets
ERR_NOTEXTTOSEND. README.md says so.

Model: opus-5-5
2026-11-02 05:34:23 +00:00
..