From: David ‘Bombe’ Roden Date: Mon, 5 Feb 2024 18:21:08 +0000 (+0100) Subject: 🚸 Try to activate a bot’s active mode before requesting a pack X-Git-Url: https://git.pterodactylus.net/?p=xudocci.git;a=commitdiff_plain;h=f9cf4d6e8deb6bcb1a9c8fe8e2d880ab6323e689 🚸 Try to activate a bot’s active mode before requesting a pack --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index ff7a4e1..ea335ee 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -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);