1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

xfer: add and identify active/passive xfer types.

Before making any significant changes, let's identify the existing xfer types by either active or passive.
This commit is contained in:
Mario Campos
2023-08-18 10:07:23 -05:00
committed by Sébastien Helleu
parent 2a40743ed0
commit 23d70b5101
6 changed files with 35 additions and 24 deletions
+1 -1
View File
@@ -6226,7 +6226,7 @@ irc_server_xfer_send_ready_cb (const void *pointer, void *data,
if (type && converted_addr[0])
{
/* send DCC PRIVMSG */
if (strcmp (type, "file_send") == 0)
if (strcmp (type, "file_send_passive") == 0)
{
filename = weechat_infolist_string (infolist, "filename");
spaces_in_name = (strchr (filename, ' ') != NULL);