src/protocols/irc/dcc_send.c

changeset 8838
c23227da7b4a
parent 8351
216d9836e839
child 9466
b6425eab60ca
--- a/src/protocols/irc/dcc_send.c	Wed Apr 28 03:10:31 2004 +0000
+++ b/src/protocols/irc/dcc_send.c	Wed Apr 28 03:16:40 2004 +0000
@@ -285,7 +285,7 @@
 
 	/* Send the intended recipient the DCC request */
 	arg[0] = xfer->who;
-	inet_aton(gaim_network_get_ip_for_account(gaim_xfer_get_account(xfer), irc->fd), &addr);
+	inet_aton(gaim_network_get_my_ip(irc->fd), &addr);
 	arg[1] = tmp = g_strdup_printf("\001DCC SEND \"%s\" %u %hu %u\001",
 	                         xfer->filename, ntohl(addr.s_addr),
 	                         port, xfer->size);

mercurial