From 23d70b5101f8a8ca9cac92e25b783c8259ab14df Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Fri, 18 Aug 2023 10:07:23 -0500 Subject: 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. --- src/plugins/irc/irc-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/irc/irc-server.c') diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index 2fa848792..7ef98bd67 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -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); -- cgit v1.2.3