Update bbstools.py

This commit is contained in:
SpudGunMan
2024-12-02 16:33:30 -08:00
parent fd84505ad1
commit 27accb0d4a
+2 -2
View File
@@ -168,8 +168,8 @@ def bbs_sync_posts(input, peerNode, RxNode):
# check if the bbs link is enabled
if bbs_link_whitelist is not None:
if str(RxNode) not in bbs_link_whitelist:
logger.warning(f"System: BBS Link is disabled for node {RxNode}.")
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."
if bbs_link_enabled == False:
return "System: BBS Link is disabled."