degesch: mark some issues

This commit is contained in:
Přemysl Eric Janouch 2015-04-28 18:16:13 +02:00
parent dff720b49b
commit 21656d462f
1 changed files with 4 additions and 0 deletions

View File

@ -2417,6 +2417,7 @@ ctcp_parse (const char *message)
}
// Finish the last text part. We ignore unended tagged chunks.
// TODO: don't ignore them, e.g. a /me may get cut off
if (!in_ctcp && start != m.len)
{
struct ctcp_chunk *chunk = ctcp_chunk_new ();
@ -4176,6 +4177,9 @@ irc_connect (struct app_context *ctx, struct error **e)
irc_send (ctx, "USER %s 8 * :%s", username, realname);
// XXX: maybe we should wait for the first message from the server
// FIXME: the user may exist already after we've reconnected. Either
// make sure that there's no reference of this nick upon disconnection,
// or search in "irc_users" first... or something.
ctx->irc_user = irc_make_user (ctx, xstrdup (nickname));
ctx->irc_user_mode = xstrdup ("");
ctx->irc_user_host = NULL;