2
0
Fork 0
forked from zynk/zynk

Exempt ops from rate limiting. (0.38.1)

- Op users in channels are now exempt from rate limiting: rate_limit_check()
  calls chan_is_op() and allows ops through immediately, so ops can use
  commands without being throttled.
- Updated rate_limit_check() signature to accept a channel parameter;
  all 20 call sites now pass reply_target so the exemption works for
  both channel and DM contexts.
- Removed unused AI_REPLY_MAX constant from the enum.
- Removed stale commented-out #include <sys/utsname.h>.
- Version bumped to 0.38.1.
This commit is contained in:
Johannes Findeisen 2026-07-21 03:16:19 +02:00
commit 6ad57cc263
2 changed files with 33 additions and 23 deletions

View file

@ -1,3 +1,9 @@
2026.07.21 – Exempt ops from rate limiting. (0.38.1)
- Op users in channels are now exempt from rate limiting: `rate_limit_check()` calls `chan_is_op()` and allows ops through immediately.
- Removed unused `AI_REPLY_MAX` constant.
- Version bumped to 0.38.1.
2026.07.21 – Add !changelog command. (0.38.0)
- Added `!changelog [count]` command: displays the latest changelog entries from `CHANGELOG.md`. Defaults to 5 entries (`CHANGELOG_COUNT`), accepts 1–10 as count. Each entry title (date line) is sent as a separate IRC message with a 200ms delay to avoid IRC server flood protection.