summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/irc/dcc/dcc-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c
index e872b065..a75984ac 100644
--- a/src/irc/dcc/dcc-send.c
+++ b/src/irc/dcc/dcc-send.c
@@ -400,7 +400,7 @@ static int dcc_send_one_file(int queue, const char *target, const char *fname,
str = g_strdup_printf(dcc->file_quoted ?
"DCC SEND \"%s\" %s %d %lu" :
"DCC SEND %s %s %d %lu",
- fname, host, port, fsize);
+ dcc->arg, host, port, fsize);
dcc_ctcp_message(server, target, chat, FALSE, str);
g_free(str);