permchannels: persist +P channels (modes, topic, ts, list modes) to disk and restore them at startup

This commit is contained in:
Jean Chevronnet 2026-08-17 01:43:29 +00:00
parent 978f8f8f82
commit b451ccbfd8
4 changed files with 288 additions and 0 deletions

View file

@ -235,6 +235,10 @@ amu_target = both
# reputationexpire = * 90d # any score decays after 90d
# extban usage: MODE #chan +b y:<100 (ban score below 100) +b y:>500 (above 500)
# --- permanent channels (+P): oper-only mode; the channel survives an empty
# member list AND a restart (its modes, topic, TS and ban lists are saved). ---
# permchannels_database = permchannels.db # default: <conf>.permchannels
# --- whoisport: opers see the target's listener port in WHOIS (always on) ---
# --- ircv3_network_icon: advertise a network icon via draft/ICON ISUPPORT ---
# network_icon = https://example.org/icon.png