From 9818cccbbf4c0c92d820e3a8e4e4b8811e245277 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 30 Mar 2025 11:29:00 -0700 Subject: [PATCH] fix BBSLink for open mode fix for issue raised https://github.com/SpudGunMan/meshing-around/discussions/142 --- mesh_bot.py | 1 + modules/bbstools.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index ca01460..a95b8d4 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -1474,6 +1474,7 @@ async def start_rx(): # Send bbslink looking for peers every other day at 10:00 using send_message function to channel 3 on device 1 #schedule.every(2).days.at("10:00").do(lambda: send_message("bbslink MeshBot looking for peers", 3, 0, 1)) + logger.debug("System: Starting the broadcast scheduler") await BroadcastScheduler() diff --git a/modules/bbstools.py b/modules/bbstools.py index 5d3b283..01ee1a1 100644 --- a/modules/bbstools.py +++ b/modules/bbstools.py @@ -167,7 +167,7 @@ def bbs_sync_posts(input, peerNode, RxNode): messageID = 0 # check if the bbs link is enabled - if bbs_link_whitelist is not None: + if bbs_link_whitelist != ['']: if str(peerNode) not in bbs_link_whitelist: logger.warning(f"System: BBS Link is disabled for node {peerNode}.") return "System: BBS Link is disabled for your node."