2
0
Fork 0
forked from zynk/zynk

v0.35.1: fix !calc not working (bc stdin not connected)

The !calc command was broken because the expression was never piped to
bc's stdin - only stdout was set up via a pipe. Added a second pipe
to feed the expression into bc before reading the result.

- Bumped version to 0.35.1
This commit is contained in:
Johannes Findeisen 2026-07-20 02:58:11 +02:00
commit 0906d825d3
2 changed files with 7 additions and 2 deletions

2
zynk.c
View file

@ -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"