summary refs log tree commit diff stats
path: root/src/common/hexchat.h
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/hexchat.h
parent468ce821fe7dcbc9396d75a137e4cfee0483bd11 (diff)
Make dcc_ip being a per-server value.
Moved dcc_ip from prefs to sess->server.
Diffstat (limited to 'src/common/hexchat.h')
-rw-r--r--src/common/hexchat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h
index 8c4a6a41..0fd98598 100644
--- a/src/common/hexchat.h
+++ b/src/common/hexchat.h
@@ -313,7 +313,6 @@ struct hexchatprefs
 
 	/* these are the private variables */
 	guint32 local_ip;
-	guint32 dcc_ip;
 
 	unsigned int wait_on_exit;	/* wait for logs to be flushed to disk IF we're connected */
 
@@ -482,6 +481,10 @@ typedef struct server
 	int proxy_sok4;
 	int proxy_sok6;
 	int id;					/* unique ID number (for plugin API) */
+
+	/* dcc_ip moved from haxchatprefs to make it per-server */
+	guint32 dcc_ip;
+
 #ifdef USE_OPENSSL
 	SSL_CTX *ctx;
 	SSL *ssl;