degesch: add a note about RPL_ISUPPORT

This commit is contained in:
Přemysl Eric Janouch 2015-04-21 22:34:16 +02:00
parent 295e4c8bf9
commit a7ccdc78be
3 changed files with 7 additions and 0 deletions

View File

@ -2279,6 +2279,10 @@ irc_process_numeric (struct app_context *ctx,
switch (numeric) 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: case IRC_RPL_NAMREPLY:
// TODO: find the channel and if found, push nicks to names_buf // TODO: find the channel and if found, push nicks to names_buf
break; break;

View File

@ -2,6 +2,7 @@
2 IRC_RPL_YOURHOST ":Your host is %s, running version %s" 2 IRC_RPL_YOURHOST ":Your host is %s, running version %s"
3 IRC_RPL_CREATED ":This server was created %s" 3 IRC_RPL_CREATED ":This server was created %s"
4 IRC_RPL_MYINFO "%s %s %s %s" 4 IRC_RPL_MYINFO "%s %s %s %s"
5 IRC_RPL_ISUPPORT "%s :are supported by this server"
221 IRC_RPL_UMODEIS "+%s" 221 IRC_RPL_UMODEIS "+%s"
251 IRC_RPL_LUSERCLIENT ":There are %d users and %d services on %d servers" 251 IRC_RPL_LUSERCLIENT ":There are %d users and %d services on %d servers"
252 IRC_RPL_LUSEROP "%d :operator(s) online" 252 IRC_RPL_LUSEROP "%d :operator(s) online"

2
kike.c
View File

@ -1044,6 +1044,8 @@ irc_try_finish_registration (struct client *c)
irc_send_reply (c, IRC_RPL_MYINFO, ctx->server_name, PROGRAM_VERSION, irc_send_reply (c, IRC_RPL_MYINFO, ctx->server_name, PROGRAM_VERSION,
IRC_SUPPORTED_USER_MODES, IRC_SUPPORTED_CHAN_MODES); IRC_SUPPORTED_USER_MODES, IRC_SUPPORTED_CHAN_MODES);
// TODO: also output IRC_RPL_ISUPPORT
irc_send_lusers (c); irc_send_lusers (c);
irc_send_motd (c); irc_send_motd (c);