From: David ‘Bombe’ Roden Date: Wed, 27 Oct 2021 11:22:41 +0000 (+0200) Subject: 🔊 Add debug logging X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d0e924c1f40b388082313173ea5f653a0dc66e2e;p=xudocci.git 🔊 Add debug logging Because I have no idea what is even going on. --- diff --git a/src/main/java/net/pterodactylus/xdcc/core/Core.java b/src/main/java/net/pterodactylus/xdcc/core/Core.java index c375308..ea04286 100644 --- a/src/main/java/net/pterodactylus/xdcc/core/Core.java +++ b/src/main/java/net/pterodactylus/xdcc/core/Core.java @@ -888,6 +888,7 @@ public class Core extends AbstractExecutionThreadService { @Subscribe public void dccSendReceived(final DccSendReceived dccSendReceived) { final Optional network = getNetwork(dccSendReceived.connection()); + eventBus.post(new GenericMessage(format("Got DCC Send from %s for %s.", dccSendReceived.source(), dccSendReceived.filename()))); if (!network.isPresent()) { return; }