summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/dcc/dcc-send.c')
-rw-r--r--src/irc/dcc/dcc-send.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/irc/dcc/dcc-send.c b/src/irc/dcc/dcc-send.c
index 14d7d1e6..83242ab1 100644
--- a/src/irc/dcc/dcc-send.c
+++ b/src/irc/dcc/dcc-send.c
@@ -149,12 +149,8 @@ static void dcc_send_add(const char *servertag, CHAT_DCC_REC *chat,
}
}
- if (!passive)
- dcc_queue_add(queue, add_mode, nick,
- fname, servertag, chat);
- else
- dcc_queue_add_passive(queue, add_mode, nick,
- fname, servertag, chat);
+ dcc_queue_add(queue, add_mode, nick,
+ fname, servertag, chat, passive);
files++;
g_free(fname);
}