diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 0170e73f..35655c9e 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -519,11 +519,11 @@ static void cmd_dcc_chat(const char *data, IRC_SERVER_REC *server) p_id = rand() % 64; dcc->pasv_id = p_id; - /* 16974599 is the long format of 1.3.3.7, we use a fake IP + /* 16843009 is the long format of 1.1.1.1, we use a fake IP since the other side shouldn't care of it: they will send the address for us to connect to in the reply */ irc_send_cmdv(server, - "PRIVMSG %s :\001DCC CHAT CHAT 16974599 0 %d\001", + "PRIVMSG %s :\001DCC CHAT CHAT 16843009 0 %d\001", nick, p_id); } cmd_params_free(free_arg); diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c index 2a0dac26..4c72b761 100644 --- a/src/irc/dcc/dcc-send.c +++ b/src/irc/dcc/dcc-send.c @@ -454,8 +454,8 @@ static int dcc_send_one_file(int queue, const char *target, const char *fname, dcc->arg, host, port, dcc->size); } else { str = g_strdup_printf(dcc->file_quoted ? - "DCC SEND \"%s\" 16974599 0 %"PRIuUOFF_T" %d" : - "DCC SEND %s 16974599 0 %"PRIuUOFF_T" %d", + "DCC SEND \"%s\" 16843009 0 %"PRIuUOFF_T" %d" : + "DCC SEND %s 16843009 0 %"PRIuUOFF_T" %d", dcc->arg, dcc->size, dcc->pasv_id); } dcc_ctcp_message(server, target, chat, FALSE, str);