kike: send more RPL_ISUPPORT tokens

This commit is contained in:
Přemysl Eric Janouch 2015-05-31 20:54:02 +02:00
parent 3c32558a42
commit 81aff58f73
1 changed files with 5 additions and 2 deletions

7
kike.c
View File

@ -1035,8 +1035,11 @@ irc_try_finish_registration (struct client *c)
irc_send_reply (c, IRC_RPL_MYINFO, ctx->server_name, PROGRAM_VERSION,
IRC_SUPPORTED_USER_MODES, IRC_SUPPORTED_CHAN_MODES);
// TODO: give more information where we don't use the default
irc_send_reply (c, IRC_RPL_ISUPPORT, "CHANTYPES=#");
// Only # channels, +e supported, +I supported, unlimited arguments to MODE
irc_send_reply (c, IRC_RPL_ISUPPORT, "CHANTYPES=# EXCEPTS INVEX MODES"
" TARGMAX=WHOIS:,LIST:,NAMES:,PRIVMSG:1,NOTICE:1,KICK:"
" NICKLEN=" XSTRINGIFY (IRC_MAX_NICKNAME)
" CHANNELLEN=" XSTRINGIFY (IRC_MAX_CHANNEL_NAME));
irc_send_lusers (c);
irc_send_motd (c);