Commit a0ce3cd7 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Use the user's default download protocol for batch downloads

Oversight probably during the new filebase overhaul in v3.19. Reported by Nelgin.
parent e4f27335
Pipeline #3542 passed with stage
in 5 minutes and 30 seconds
......@@ -258,7 +258,7 @@ BOOL sbbs_t::start_batch_download()
file_t f = {{}};
BOOL result = FALSE;
if(batch_file_get(&cfg, ini, filenames[0], &f)) {
result = sendfile(&f, /* prot: */' ', /* autohang: */true);
result = sendfile(&f, useron.prot, /* autohang: */true);
if(result == TRUE)
batch_file_remove(&cfg, useron.number, XFER_BATCH_DOWNLOAD, f.name);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment