mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
fix stuck meta on dcc chat
This commit is contained in:
parent
b9f773ba6a
commit
c5dc3fc2a0
@ -318,13 +318,17 @@ void dcc_chat_input(CHAT_DCC_REC *dcc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
|
SERVER_REC *server;
|
||||||
char *recoded;
|
char *recoded;
|
||||||
|
|
||||||
dcc->transfd += ret;
|
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);
|
signal_emit("dcc chat message", 2, dcc, recoded);
|
||||||
g_free(recoded);
|
g_free(recoded);
|
||||||
|
if (server != NULL)
|
||||||
|
server_meta_clear_all(server);
|
||||||
}
|
}
|
||||||
} while (ret > 0);
|
} while (ret > 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user