Open FichteFoll opened 8 years ago
Imo we should follow the IRC URI spec [1] of only prepending hashes for channels that start with an alphanumeric character.
Forgot to reference, but pr #13 added yaml config parsing.
Note to self: Prepend #
to channels in config only if they start with an alphanumeric character, as described here.
I actually did that, but the other way around - only prepend #
if it doesn't start with any of #
, &
, +
and !
(according to rfc), since a channel can start with non-ascii (e.g. utf-8) chars on some networks like euIRC.
Yeah well, it's good enough. I know that ZNC uses a channel named ~#znc
as partyline, which would be impossible to configure this way however. Maybe intercept the server's CHANTYPES=#&+~
message?
Use YAML for configuration, parser: ruamel.yaml (persists comments and style when modifying in-place).
Latest structure proposal: https://paste.chireiden.net/q/ODbUrfpWNFcT
networks
key for network configuration