summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorStepan Broz <stepan@izitra.cz>2019-05-21 16:02:30 +0200
committerPatrick <tingping@tingping.se>2019-05-28 14:33:39 -0700
commited1d5061a46a62401285e43894cb96989b2cbc60 (patch)
tree2d99f07af54beeb2db25de0fbf862cfdb4fe1552 /src/common/outbound.c
parent468ce821fe7dcbc9396d75a137e4cfee0483bd11 (diff)
Make dcc_ip being a per-server value.
Moved dcc_ip from prefs to sess->server.
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 96fb7fe4..614aad38 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -3287,7 +3287,7 @@ cmd_send (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 	if (!word[2][0])
 		return FALSE;
 
-	addr = dcc_get_my_address ();
+	addr = dcc_get_my_address (sess);
 	if (addr == 0)
 	{
 		/* use the one from our connected server socket */