From f9cf4d6e8deb6bcb1a9c8fe8e2d880ab6323e689 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 5 Feb 2024 19:21:08 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=9A=B8=20Try=20to=20activate=20a=20bot?= =?utf8?q?=E2=80=99s=20active=20mode=20before=20requesting=20a=20pack?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/xdcc/core/Core.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4