diff options
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-command.c | 2 | ||||
-rw-r--r-- | src/plugins/irc/irc-ctcp.c | 6 | ||||
-rw-r--r-- | src/plugins/irc/irc-server.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 1b6a2fecb..cef86f0d3 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -2148,7 +2148,7 @@ IRC_COMMAND_CALLBACK(dcc) { weechat_infolist_new_var_string (item, "plugin_name", weechat_plugin->name); weechat_infolist_new_var_string (item, "plugin_id", ptr_server->name); - weechat_infolist_new_var_string (item, "type_string", "file_send"); + weechat_infolist_new_var_string (item, "type_string", "file_send_passive"); weechat_infolist_new_var_string (item, "protocol_string", "dcc"); weechat_infolist_new_var_string (item, "remote_nick", argv[2]); weechat_infolist_new_var_string (item, "local_nick", ptr_server->nick); 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)); 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); |