diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-21 22:34:16 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-21 22:34:16 +0200 |
commit | a7ccdc78bec660f8173a31242ccad029018f9b6f (patch) | |
tree | c7f67007f916bf0f3840f59cddc6d48621c47950 | |
parent | 295e4c8bf92921790cc980b702a2c7740ccc649f (diff) | |
download | xK-a7ccdc78bec660f8173a31242ccad029018f9b6f.tar.gz xK-a7ccdc78bec660f8173a31242ccad029018f9b6f.tar.xz xK-a7ccdc78bec660f8173a31242ccad029018f9b6f.zip |
degesch: add a note about RPL_ISUPPORT
-rw-r--r-- | degesch.c | 4 | ||||
-rw-r--r-- | kike-replies | 1 | ||||
-rw-r--r-- | kike.c | 2 |
3 files changed, 7 insertions, 0 deletions
@@ -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" @@ -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); |