summary refs log tree commit diff stats
path: root/src/common/outbound.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/outbound.c
parentcf8ea2649811bc9736e547eae8f74ecfdf5f6757 (diff)
Variable cleanup for dcc_*
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 2d3dff34..4529c49e 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -865,7 +865,7 @@ cmd_dcc (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 			if (!*nick)
 				return FALSE;
 
-			maxcps = prefs.dcc_max_send_cps;
+			maxcps = prefs.hex_dcc_max_send_cps;
 			if (!g_ascii_strncasecmp(nick, "-maxcps=", 8))
 			{
 				maxcps = atoi(nick + 8);
@@ -1450,7 +1450,7 @@ cmd_dns (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 			}
 		} else
 		{
-			snprintf (tbuf, TBUFSIZE, "exec -d %s %s", prefs.dnsprogram, nick);
+			snprintf (tbuf, TBUFSIZE, "exec -d %s %s", prefs.hex_dnsprogram, nick);
 			handle_command (sess, tbuf, FALSE);
 		}
 		return TRUE;