• exec/ircd_conf2ini.js

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Saturday, August 01, 2026 00:46:43
    https://gitlab.synchro.net/main/sbbs/-/commit/c9c285289a9efc7315ad5894
    Modified Files:
    exec/ircd_conf2ini.js
    Log Message:
    ircd_conf2ini: warn when an [Allow] mask shadows later sections

    Client authorization is matched in file order and the first match wins,
    so a broad mask early in the file leaves every narrower one below it unreachable. The converter preserves the source file's order, which can
    carry a pre-existing shadowing problem into the .ini unremarked. Report
    it instead, naming the masks left unreachable.

    An entry restricted to one port is only reported as shadowing sections
    that specify the same port.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)