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:
committed by
Sébastien Helleu
parent
2a40743ed0
commit
23d70b5101
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user