Show whether a download has already started.
[xudocci.git] / src / main / java / net / pterodactylus / xdcc / core / Core.java
index 9d5dcb7..33a22f8 100644 (file)
@@ -178,12 +178,12 @@ public class Core extends AbstractExecutionThreadService {
        }
 
        /**
-        * Returns the currently active DCC receivers.
+        * Returns all currently running downloads.
         *
-        * @return The currently active DCC receivers
+        * @return All currently running downloads
         */
-       public Collection<DccReceiver> dccReceivers() {
-               return dccReceivers;
+       public Collection<Download> downloads() {
+               return downloads.values();
        }
 
        //