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:
parent
76ae9cc1ef
commit
476554d2cb
4 changed files with 1093 additions and 45 deletions
5
Makefile
5
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue