diff --git a/degesch.c b/degesch.c index 85f3ff4..5ed9dc8 100644 --- a/degesch.c +++ b/degesch.c @@ -2279,6 +2279,10 @@ irc_process_numeric (struct app_context *ctx, switch (numeric) { + case IRC_RPL_ISUPPORT: + // TODO: parse this, mainly PREFIX; see + // http://www.irc.org/tech_docs/draft-brocklesby-irc-isupport-03.txt + break; case IRC_RPL_NAMREPLY: // TODO: find the channel and if found, push nicks to names_buf break; diff --git a/kike-replies b/kike-replies index b5f4674..349f12f 100644 --- a/kike-replies +++ b/kike-replies @@ -2,6 +2,7 @@ 2 IRC_RPL_YOURHOST ":Your host is %s, running version %s" 3 IRC_RPL_CREATED ":This server was created %s" 4 IRC_RPL_MYINFO "%s %s %s %s" +5 IRC_RPL_ISUPPORT "%s :are supported by this server" 221 IRC_RPL_UMODEIS "+%s" 251 IRC_RPL_LUSERCLIENT ":There are %d users and %d services on %d servers" 252 IRC_RPL_LUSEROP "%d :operator(s) online" diff --git a/kike.c b/kike.c index 83f9d85..bd3c3fb 100644 --- a/kike.c +++ b/kike.c @@ -1044,6 +1044,8 @@ 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: also output IRC_RPL_ISUPPORT + irc_send_lusers (c); irc_send_motd (c);