From 81aff58f73e005277c38dd5bd0e65a88c92641e6 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 31 May 2015 20:54:02 +0200
Subject: kike: send more RPL_ISUPPORT tokens
---
kike.c | 7 +++++--
1 file 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);
--
cgit v1.2.3-70-g09d2