diff options
author | Mario Campos <mario-campos@github.com> | 2023-08-18 10:07:23 -0500 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-06 14:11:35 +0200 |
commit | 23d70b5101f8a8ca9cac92e25b783c8259ab14df (patch) | |
tree | c486cd43628dfe2e37949aa1cdbdb1ec010c2b4d /src/plugins/irc/irc-server.c | |
parent | 2a40743ed0c8fe728f139895afdb8bd14141e8a9 (diff) | |
download | weechat-23d70b5101f8a8ca9cac92e25b783c8259ab14df.zip |
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.
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r-- | src/plugins/irc/irc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |