diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-28 18:16:13 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-28 23:41:13 +0200 |
commit | 21656d462f797dfcb0adba1783c3f350f0a51167 (patch) | |
tree | 9ce5e1e93aecba8c54d932bfdf4ffa906c4df5b1 | |
parent | dff720b49b581d1937cc0aab8256f9eb8cce207e (diff) | |
download | xK-21656d462f797dfcb0adba1783c3f350f0a51167.tar.gz xK-21656d462f797dfcb0adba1783c3f350f0a51167.tar.xz xK-21656d462f797dfcb0adba1783c3f350f0a51167.zip |
degesch: mark some issues
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |