summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-31 20:54:02 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-31 20:54:02 +0200
commit81aff58f73e005277c38dd5bd0e65a88c92641e6 (patch)
treef3b962914802e9bb6ffdbab02a9e0300d833af4e
parent3c32558a42201fd34daa32ad845c35591388369a (diff)
downloadxK-81aff58f73e005277c38dd5bd0e65a88c92641e6.tar.gz
xK-81aff58f73e005277c38dd5bd0e65a88c92641e6.tar.xz
xK-81aff58f73e005277c38dd5bd0e65a88c92641e6.zip
kike: send more RPL_ISUPPORT tokens
-rw-r--r--kike.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/kike.c b/kike.c
index 72fc06f..8400e45 100644
--- a/kike.c
+++ b/kike.c
@@ -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);