summary refs log tree commit diff stats
path: root/src/common/inbound.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-22 12:10:55 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-22 12:10:55 +0200
commitb563b934143034cb6a57c3ab674140f63014b1a3 (patch)
tree9d19cd53fe2ffeeab7abafac5c9f7819025515dd /src/common/inbound.c
parentcf8ea2649811bc9736e547eae8f74ecfdf5f6757 (diff)
Variable cleanup for dcc_*
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r--src/common/inbound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index 23947dfc..67bc2ea9 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -1109,7 +1109,7 @@ do_dns (session *sess, char *nick, char *host)
 	if (po)
 		host = po + 1;
 	EMIT_SIGNAL (XP_TE_RESOLVINGUSER, sess, nick, host, NULL, NULL, 0);
-	snprintf (tbuf, sizeof (tbuf), "exec -d %s %s", prefs.dnsprogram, host);
+	snprintf (tbuf, sizeof (tbuf), "exec -d %s %s", prefs.hex_dnsprogram, host);
 	handle_command (sess, tbuf, FALSE);
 }
 
@@ -1301,7 +1301,7 @@ inbound_login_end (session *sess, char *text)
 
 	if (!serv->end_of_motd)
 	{
-		if (prefs.ip_from_server && serv->use_who)
+		if (prefs.hex_dcc_ip_from_server && serv->use_who)
 		{
 			serv->skip_next_userhost = TRUE;
 			serv->p_get_ip_uh (serv, serv->nick);	/* sends USERHOST mynick */