🚸 Try to activate a bot’s active mode before requesting a pack
[xudocci.git] / src / main / java / net / pterodactylus / xdcc / core / Core.java
index ff7a4e1..ea335ee 100644 (file)
@@ -320,6 +320,7 @@ public class Core extends AbstractExecutionThreadService {
                downloads.put(pack.name(), download);
 
                try {
+                       connection.sendMessage(bot.name(), "XDCC OPTION +ACTIVE");
                        connection.sendMessage(bot.name(), "XDCC SEND " + pack.id());
                } catch (IOException ioe1) {
                        logger.warn("Could not send message to bot!", ioe1);