2
0
Fork 0
forked from zynk/zynk

v0.33.1: fix hot reload re-registration, add !hello, comprehensive docs

- Fixed hot reload: after TLS session restore, the bot now does a fresh
  IRC connection and re-sends PASS/NICK/USER to re-register with the
  server, fixing the issue where channels were never re-joined after
  !reload or !restart.
- Removed ZYNK_RESTORE_FD env var approach; reload_try_restore now
  restores settings and returns 1 to trigger a fresh connect.
- Added !hello command for casual greeting.
- Added atomic build rule in Makefile (compile to .tmp, then mv).
- Added comprehensive function-level documentation across the entire
  codebase (~80 new doc comments).
This commit is contained in:
Johannes Findeisen 2026-07-19 01:29:22 +02:00
commit 476554d2cb
4 changed files with 1093 additions and 45 deletions

View file

@ -16,6 +16,10 @@ endif
all: zynk
zynk: zynk.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@.tmp $< $(LDLIBS)
mv -f $@.tmp $@
calc: zynk.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
@ -28,4 +32,3 @@ install: calc
uninstall:
rm -vf $(DESTDIR)$(BINDIR)/zynk