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-ctcp.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-ctcp.c')
-rw-r--r-- | src/plugins/irc/irc-ctcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-ctcp.c b/src/plugins/irc/irc-ctcp.c index e86a14c90..071636f52 100644 --- a/src/plugins/irc/irc-ctcp.c +++ b/src/plugins/irc/irc-ctcp.c @@ -914,7 +914,7 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick, { weechat_infolist_new_var_string (item, "plugin_name", weechat_plugin->name); weechat_infolist_new_var_string (item, "plugin_id", server->name); - weechat_infolist_new_var_string (item, "type_string", "file_recv"); + weechat_infolist_new_var_string (item, "type_string", "file_recv_active"); weechat_infolist_new_var_string (item, "protocol_string", "dcc"); weechat_infolist_new_var_string (item, "remote_nick", nick); weechat_infolist_new_var_string (item, "local_nick", server->nick); @@ -1063,7 +1063,7 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick, { weechat_infolist_new_var_string (item, "plugin_name", weechat_plugin->name); weechat_infolist_new_var_string (item, "plugin_id", server->name); - weechat_infolist_new_var_string (item, "type_string", "file_recv"); + weechat_infolist_new_var_string (item, "type_string", "file_recv_active"); weechat_infolist_new_var_string (item, "filename", (filename) ? filename : pos_file); weechat_infolist_new_var_integer (item, "port", atoi (pos_port)); @@ -1206,7 +1206,7 @@ irc_ctcp_recv_dcc (struct t_irc_server *server, const char *nick, { weechat_infolist_new_var_string (item, "plugin_name", weechat_plugin->name); weechat_infolist_new_var_string (item, "plugin_id", server->name); - weechat_infolist_new_var_string (item, "type_string", "file_recv"); + weechat_infolist_new_var_string (item, "type_string", "file_recv_active"); weechat_infolist_new_var_string (item, "filename", (filename) ? filename : pos_file); weechat_infolist_new_var_integer (item, "port", atoi (pos_port)); |