1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

fix stuck meta on dcc chat

This commit is contained in:
Ailin Nemui 2021-11-09 21:18:40 +01:00
parent b9f773ba6a
commit c5dc3fc2a0

View File

@ -318,13 +318,17 @@ void dcc_chat_input(CHAT_DCC_REC *dcc)
}
if (ret > 0) {
SERVER_REC *server;
char *recoded;
dcc->transfd += ret;
recoded = recode_in(SERVER(dcc->server), str, dcc->nick);
server = SERVER(dcc->server);
recoded = recode_in(server, str, dcc->nick);
signal_emit("dcc chat message", 2, dcc, recoded);
g_free(recoded);
if (server != NULL)
server_meta_clear_all(server);
}
} while (ret > 0);
}