bans: name the bans for AbuseIPDB's blacklist in the package doc

The package doc listed the bans the ledger holds as those for limits,
attacks and an admin's, and left out the new bans for AbuseIPDB's
blacklist.

Model: opus-5-5
This commit is contained in:
clawbot committed 2026-11-19 08:17:44 +00:00
1 parent 1ba623c64c
commit fe34dd06bf
1 file changed
+4 -3
+4 -3
View File
@@ -1,8 +1,9 @@
// Package bans is the ban ledger: the bans sww makes on the
// netblocks of clients that break a rate limit, a byte limit or the refusal
// limit or show a clear sign of attack, and those an admin makes, with their
// notes, as the "Bans" section of SPEC.md describes. The bans are kept in
// memory, and written to bans.json and read from it by the state package.
// limit or show a clear sign of attack, or are on AbuseIPDB's blacklist, and
// those an admin makes, with their notes, as the "Bans" section of SPEC.md
// describes. The bans are kept in memory, and written to bans.json and read
// from it by the state package.
package bans
import (