diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-24 22:33:23 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-24 22:33:23 +0200 |
commit | 2a0dcc2addc2c949fa090f1e7f1e0de4f58cccb9 (patch) | |
tree | 76b625a7a85f9061c4cad42be6b60a3b7e034e62 | |
parent | dd8bb4c206836ad9ce259f15ce41263eae8a7fcf (diff) | |
download | xK-2a0dcc2addc2c949fa090f1e7f1e0de4f58cccb9.tar.gz xK-2a0dcc2addc2c949fa090f1e7f1e0de4f58cccb9.tar.xz xK-2a0dcc2addc2c949fa090f1e7f1e0de4f58cccb9.zip |
degesch: fix RPL_WELCOME user@host parsing
-rw-r--r-- | degesch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2324,8 +2324,8 @@ irc_process_numeric (struct app_context *ctx, { case IRC_RPL_WELCOME: // We still issue a USERHOST anyway as this is in general unreliable - if (msg->params.len == 1) - irc_try_parse_welcome_for_userhost (ctx, msg->params.vector[0]); + if (msg->params.len == 2) + irc_try_parse_welcome_for_userhost (ctx, msg->params.vector[1]); break; case IRC_RPL_ISUPPORT: // TODO: parse this, mainly PREFIX; see |