From 21656d462f797dfcb0adba1783c3f350f0a51167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Tue, 28 Apr 2015 18:16:13 +0200 Subject: [PATCH] degesch: mark some issues --- degesch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/degesch.c b/degesch.c index d240969..849b7ce 100644 --- a/degesch.c +++ b/degesch.c @@ -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;