diff --git a/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java b/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java index 01dcfc2..c028123 100644 --- a/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java +++ b/src/main/java/com/ghostchu/peerbanhelper/downloaderplug/biglybt/Plugin.java @@ -1,5 +1,7 @@ package com.ghostchu.peerbanhelper.downloaderplug.biglybt; +import com.biglybt.core.config.COConfigurationManager; +import com.biglybt.core.config.ConfigKeys; import com.biglybt.core.networkmanager.NetworkConnectionFactory; import com.biglybt.core.networkmanager.Transport; import com.biglybt.pif.PluginConfig; @@ -208,6 +210,7 @@ private void reloadPlugin() { log.info("PBH-Adapter WebServer started with: port={}, token={}", port, token); + COConfigurationManager.setParameter(ConfigKeys.Transfer.BCFG_ALLOW_SAME_IP_PEERS, true); initEndpoints(webContainer.javalin()); }