]> arthur.barton.de Git - ngircd-alex.git/commit
Revert "Show allowed channel types in ISUPPORT(005) numeric only"
authorAlexander Barton <alex@barton.de>
Mon, 2 Nov 2020 10:45:41 +0000 (11:45 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 2 Nov 2020 10:45:41 +0000 (11:45 +0100)
commit2056de82ae47a9128e857bb32313f9106b1c3f0f
tree66f6a3dad10eeaf29f7738488a5e70dedee4e842
parent5cf0eabd841b644eef8022dad97fa96aa3661c6a
Revert "Show allowed channel types in ISUPPORT(005) numeric only"

The ISUPPORT(005) numeric lists only channel prefixes which are listed
in the "AllowedChannelTypes" configuration option. And if this is the
empty string ("") for example, this now results in IRC clients assuming
"oh, no channel prefix characters at all, so no channels at all, so no
PRIVMSG can go to any channel" -- which is not the case when there are
pre-defined channel set up or other servers still having channels!

So "allowed channel types" != "supported channel types", and we always
have to list all supported ones in the ISUPPORT(005) numeric!

This reverts commit 4b7e8db418340576c95f1edad8470b66d6fe886d.

Closes #285.
src/ngircd/irc-info.c