summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-13 10:49:11 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 10:49:29 +0200
commit05b6e0b330f423d5b163c07fffb1183abe75c3fa (patch)
treed70f8ae17d7284bc2c7712849a85760ffe6bff02 /src/fe-gtk
parentdfd4828ad29b96d69c901b9f254de70594f88c60 (diff)
By default, use <config>/downloads for DCC file transfers when in portable mode
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/dccgui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/dccgui.c b/src/fe-gtk/dccgui.c
index 6019b3b2..c003d1ab 100644
--- a/src/fe-gtk/dccgui.c
+++ b/src/fe-gtk/dccgui.c
@@ -165,7 +165,7 @@ fe_dcc_send_filereq (struct session *sess, char *nick, int maxcps, int passive)
 	mdc->passive = passive;
 
 	snprintf (tbuf, sizeof tbuf, _("Send file to %s"), nick);
-	gtkutil_file_req (tbuf, dcc_send_filereq_file, mdc, NULL, NULL, FRF_MULTIPLE);
+	gtkutil_file_req (tbuf, dcc_send_filereq_file, mdc, prefs.dccdir, NULL, FRF_MULTIPLE|FRF_FILTERISINITIAL);
 }
 
 static void