summary refs log tree commit diff stats
path: root/src/common/dcc.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 14:50:36 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 14:50:36 +0200
commit545b7dc6ffc0aff9f2ca2cb4ba10b69e25134a03 (patch)
treecfb96af58bab32dca37205add2a5be36dd2c23f2 /src/common/dcc.c
parent5c49b45a6deb80d604fd6114bb110358b6ee0687 (diff)
Variable cleanup for irc_*
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r--src/common/dcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c
index 86a75754..b697402e 100644
--- a/src/common/dcc.c
+++ b/src/common/dcc.c
@@ -1022,7 +1022,7 @@ dcc_socks_proxy_traverse (GIOChannel *source, GIOCondition condition, struct DCC
 		sc.type = 1;
 		sc.port = htons (dcc->port);
 		sc.address = htonl (dcc->addr);
-		strncpy (sc.username, prefs.username, 9);
+		strncpy (sc.username, prefs.hex_irc_user_name, 9);
 		memcpy (proxy->buffer, &sc, sizeof (sc));
 		proxy->buffersize = 8 + strlen (sc.username) + 1;
 		proxy->bufferused = 0;