diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-31 20:54:02 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-31 20:54:02 +0200 |
commit | 81aff58f73e005277c38dd5bd0e65a88c92641e6 (patch) | |
tree | f3b962914802e9bb6ffdbab02a9e0300d833af4e | |
parent | 3c32558a42201fd34daa32ad845c35591388369a (diff) | |
download | xK-81aff58f73e005277c38dd5bd0e65a88c92641e6.tar.gz xK-81aff58f73e005277c38dd5bd0e65a88c92641e6.tar.xz xK-81aff58f73e005277c38dd5bd0e65a88c92641e6.zip |
kike: send more RPL_ISUPPORT tokens
-rw-r--r-- | kike.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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); |