repo: ngircd action: commit revision: path_from: revision_from: 4b7e8db418340576c95f1edad8470b66d6fe886d: path_to: revision_to:
commit 4b7e8db418340576c95f1edad8470b66d6fe886d Author: Alexander BartonDate: Thu May 7 18:03:06 2020 +0200 Show allowed channel types in ISUPPORT(005) numeric only Don't show the static list of all possibly available channel types ... Closes #273. diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c
--- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -1565,7 +1565,8 @@ IRC_Send_ISUPPORT(CLIENT * Client) Conf_Network)) return DISCONNECTED; if (!IRC_WriteStrClient(Client, RPL_ISUPPORT1_MSG, Client_ID(Client), - CHANTYPES, CHANTYPES, Conf_MaxJoins)) + Conf_AllowedChannelTypes, Conf_AllowedChannelTypes, + Conf_MaxJoins)) return DISCONNECTED; return IRC_WriteStrClient(Client, RPL_ISUPPORT2_MSG, Client_ID(Client), CHANNEL_NAME_LEN - 1, Conf_MaxNickLength - 1,
-----END OF PAGE-----