mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Merge pull request #49 from ailin-nemui/dccmsgs
fix stuck meta on dcc chat (cherry picked from commit a54a00c803067bfc669658f64aaac54dfe95c69b)
This commit is contained in:
parent
bdadbb183f
commit
eed9b32f97
6
NEWS
6
NEWS
@ -1,11 +1,11 @@
|
|||||||
v1.3.0-an 2021-10-11 Ailin Nemui <Nei>
|
v1.3.0-an 2021-11-11 Ailin Nemui <Nei>
|
||||||
* /SET resolve_reverse_lookup setting was removed (#1135)
|
* /SET resolve_reverse_lookup setting was removed (#1135)
|
||||||
* Irssi will try to connect on IPv4 if IPv6 connection failed
|
* Irssi will try to connect on IPv4 if IPv6 connection failed
|
||||||
(#1146). By Shivaram Lingamneni
|
(#1146). By Shivaram Lingamneni
|
||||||
|
|
||||||
* The display system now renders formats on the fly (#1079,
|
* The display system now renders formats on the fly (#1079,
|
||||||
#1188, #1191, #1192, #1204, #1205, #1209, #1349, an#13,
|
#1188, #1191, #1192, #1204, #1205, #1209, #1349, #1355,
|
||||||
an#14, an#28, an#29, an#36, an#37)
|
an#13, an#14, an#28, an#29, an#36, an#37, an#49)
|
||||||
|
|
||||||
This major change will break scripts that try to modify
|
This major change will break scripts that try to modify
|
||||||
printed text during "print text" signal (#1189). They need
|
printed text during "print text" signal (#1189). They need
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user