Allow ircd to run without ircd.conf using sensible defaults
authorRemco Rijnders <remmy@serenity-irc.net>
Sat, 7 Mar 2026 17:17:36 +0000 (12:17 -0500)
committerRemco Rijnders <remmy@serenity-irc.net>
Sat, 7 Mar 2026 17:17:36 +0000 (12:17 -0500)
commitac09a43fc068db1a30ff300b8f1fb33712316c6e
treec0fb497dd0f1e2779c474593480d5eeab8b3e7ce
parentc2b4712051134e82d76a1c50d6ed5a27082b6188
Allow ircd to run without ircd.conf using sensible defaults

- Missing config file prints a warning and continues instead of exiting
- Default listen port is 6667 when no me{} block exists
- Auto-inject allow-all block when no allow{} blocks are configured
- Run from current directory instead of requiring DPATH to exist
- Always allow -f flag for specifying config file path
- Make RPL_POLICY (AUP notice) fully runtime-configurable; skip if empty
- Update convert-conf.py to emit network{}, limits{}, and general{}
  blocks with Serenity-IRC defaults, and fix F-line to use limits{}

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
src/ircd.c
src/s_conf.c
src/s_err.c
src/s_user.c
tools/convert-conf.py