2
0
Fork 0
forked from zynk/zynk

0.41.2 Move yt_url_encode() docs, document signal globals in zynk.c.

- Moved doc comment block for yt_url_encode() from top of cmd_yt.h
  to immediately before the function definition for better readability.
- Added doc comments to volatile sig_atomic_t running variable describing
  its purpose as main loop control flag and async-signal-safety.
- Added doc comments to start_time variable explaining its role in
  uptime calculation.
- Updated CHANGELOG.md to reflect yt_url_encode() doc comment move.
This commit is contained in:
Johannes Findeisen 2026-07-25 20:16:51 +02:00
commit 11bf7e624d
3 changed files with 29 additions and 14 deletions

View file

@ -3,6 +3,7 @@
- Added a welcome message when users join a channel: `handle_join()` now sends `"Welcome, <nick>!"` to the channel for non-bot users. The bot's own joins are silently ignored to avoid echo loops.
- Added `src_nick` parameter to `handle_join()` to identify the joining user; the call site in `irc_handle()` was updated to pass `src_nick`.
- Added doc comments to `chans[]` (global channel tracking array) and `nchans` (count of tracked channels) in `irc.h`.
- Added doc comments to `yt_url_encode()` in `cmd_yt.h` describing percent-encoding behavior, parameters, and return value.
2026.07.25 - Decode Unicode escapes in !yt responses. (0.41.1)