echo/src/engine
Jean 8a9b6a37ca
Some checks failed
CI / check (push) Failing after 3m48s
botserv: op assigned bots on join; statserv: persist counters across restart
Problem 1: an assigned bot joined via IJOIN with no status mode, so it had no
+o. Join it with the 4-param IJOIN form (ts 1, mode o) so it's opped, matching
Anope's default bot modes (+o), and exempt bots from SECUREOPS/RESTRICTED so the
op is never stripped.

Problem 2: the shared stat counters lived only in memory, so a restart wiped
them. Snapshot them to the log (StatsSet event, folded into NetData + compaction)
periodically and on shutdown, and reseed the live registry from the log at
startup. Live gauges (online counts) stay re-derived, not stored.
2026-07-16 17:32:20 +00:00
..
db botserv: op assigned bots on join; statserv: persist counters across restart 2026-07-16 17:32:20 +00:00
dispatch.rs Reorganise the engine into a concern-split module tree 2026-07-14 14:05:56 +00:00
kicker.rs Reorganise the engine into a concern-split module tree 2026-07-14 14:05:56 +00:00
mod.rs botserv: op assigned bots on join; statserv: persist counters across restart 2026-07-16 17:32:20 +00:00
register.rs services: throttle emailed codes to stop RESEND/RESETPASS email-bombing 2026-07-16 10:41:52 +00:00
sasl.rs Reorganise the engine into a concern-split module tree 2026-07-14 14:05:56 +00:00
scram.rs Make the SCRAM verifier the sole password credential; finish the account-registration relay 2026-07-15 15:47:41 +00:00
service.rs Rename the project to Echo (was fedserv) 2026-07-14 15:24:41 +00:00
state.rs botserv: op assigned bots on join; statserv: persist counters across restart 2026-07-16 17:32:20 +00:00
tests.rs services: throttle emailed codes to stop RESEND/RESETPASS email-bombing 2026-07-16 10:41:52 +00:00