]> jfr.im git - irc/unrealircd/unrealircd.git/commit
Make deny channel { } support escaped sequences like channel "#xyz\*"; unreal60_dev
authorBram Matthys <redacted>
Wed, 25 Oct 2023 17:45:04 +0000 (19:45 +0200)
committerBram Matthys <redacted>
Wed, 25 Oct 2023 17:49:34 +0000 (19:49 +0200)
commit75a55de785c248ee6ad5477857e51bd1d91aea72
tree92a12f259817b79a9ca8239dd8ca89e02bcea508
parentf2f11a4637135ada5a0f9b2e0bc4d6c9cc5a5415
Make deny channel { } support escaped sequences like channel "#xyz\*";
This so you can match a literal * or ? via \* and \?

And do the same for allow channel { }.

This can break current configs if you have a deny channel for a channel
with a slash in it, since a \ which already sortof needed to be \\ in
the config file, now needs to be \\\\ (doesn't that look great?).
Fortunately slashes are not really common in channel names, let alone
deny channel { } configuration.
src/conf.c