diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e992cc..a41a8ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ +2026.07.20 – Fix !calc not working (bc stdin not connected). + +- Fixed `!calc` command: the expression was never piped to `bc`'s stdin, causing empty output and a "no result" error for every expression. Added a second pipe to feed the expression into `bc` before reading the result. +- Version bumped to 0.35.1. + 2026.07.20 – Calculator, time, seen, and tell commands. - Added `!calc ` command: evaluate math expressions via `bc -l` (supports arithmetic, powers, trigonometry, logarithms, variables, and multi-statement expressions). -- Added `!time [timezone]` command: display current time in any IANA timezone (e.g. `!time US/Pacific`, `!time Europe/Berlin`). +- Added `!time [timezone]` command: display the current time in any IANA timezone (e.g. `!time US/Pacific`, `!time Europe/Berlin`). - Added `!seen ` command: track and query when users were last seen (auto-updated on PRIVMSG, PART, and QUIT). - Added `!tell ` command: leave offline messages for users, delivered automatically when they next speak. - Added `seen` and `tell` tables to the SQLite database for persistent user tracking and message storage. diff --git a/zynk.c b/zynk.c index 5362aa2..e34f99b 100644 --- a/zynk.c +++ b/zynk.c @@ -29,7 +29,7 @@ int asprintf(char **, const char *, ...); /* ---- constants ---- */ -#define VERSION "0.35.0" +#define VERSION "0.35.1" #define DEFAULT_SERVER "irc.libera.chat" #define OPENCODE_BIN "/usr/bin/opencode" #define CLR_RESET "\033[0m"