2
0
Fork 0
forked from zynk/zynk

Reduced MAX_HISTORY, moved LOAD_FUNC macro, added irc_reply docs. (0.40.9)

- Reduced MAX_HISTORY from 100 to 12 to decrease AI context memory usage.
- Moved LOAD_FUNC macro from zynk.h to db.h for better code organization (closer to its usage in sqlite_init_lib).
- Added comprehensive doc comment to irc_reply() function describing its nick-prefixing behavior for channel messages.
- Reordered includes in zynk.c to alphabetical order.
This commit is contained in:
Johannes Findeisen 2026-07-24 19:55:36 +02:00
commit 8861e3201a
6 changed files with 34 additions and 10 deletions

View file

@ -1,3 +1,10 @@
24.07.24 - Reduced MAX_HISTORY, moved LOAD_FUNC macro, added irc_reply docs. (0.40.9)
- Reduced `MAX_HISTORY` from 100 to 12 to decrease AI context memory usage.
- Moved `LOAD_FUNC` macro from `zynk.h` to `db.h` for better code organization (closer to its usage in sqlite_init_lib).
- Added comprehensive doc comment to `irc_reply()` function describing its nick-prefixing behavior for channel messages.
- Reordered includes in `zynk.c` to alphabetical order.
26.07.24 - Nick-prefixed channel replies for all non-admin commands. (0.40.8)
- Added `irc_reply()`: a new IRC response helper that automatically prepends the sender's nick to channel messages (e.g. `"nick: pong!"`), while leaving private-message responses unmodified. This makes it clear which user the bot is addressing in busy channels.