Module v2

Source

Structs§

Ban
BanEntry
BanInfo
NOTE: May not be present if performed from the command line or from a legacy file.
BanRecord
Banlist
IpBanEntry
IpBanRecord
NormalizedIpAddr
The last 64 bits of IPv6 addresess may vary a lot even when coming from the same client, and taking the full IPv6 for IP bans is thus useless.

Enums§

BanAction
Role
Important: even if the role we are storing here appears to be identical to one used in another versioned store (like admin::Role), we must have our own versioned copy! This ensures that if there’s an update to the role somewhere else, the conversion function between them will break, letting people make an intelligent decision.

Type Aliases§

Unban 🔒