aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd')
-rw-r--r--src/slskd/Transfers/Downloads/DownloadService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs
index cd8f9e0e..2b53ef99 100644
--- a/src/slskd/Transfers/Downloads/DownloadService.cs
+++ b/src/slskd/Transfers/Downloads/DownloadService.cs
@@ -1,4 +1,4 @@
-// <copyright file="DownloadService.cs" company="slskd Team">
+// <copyright file="DownloadService.cs" company="slskd Team">
// Copyright (c) slskd Team. All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
@@ -170,7 +170,7 @@ namespace slskd.Transfers.Downloads
transfer = transfer.WithSoulseekTransfer(args.Transfer);
- if (args.Transfer.State.HasFlag(TransferStates.Queued) || args.Transfer.State == TransferStates.Initializing)
+ if ((args.Transfer.State.HasFlag(TransferStates.Queued) && args.Transfer.State.HasFlag(TransferStates.Remotely)) || args.Transfer.State == TransferStates.Initializing)
{
transfer.EnqueuedAt = DateTime.UtcNow;
waitUntilEnqueue.TrySetResult(true);