This commit is contained in:
SpudGunMan
2024-12-02 16:25:48 -08:00
parent 8f75b13c4d
commit fd84505ad1
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1028,8 +1028,8 @@ async def start_rx():
if bbs_enabled:
logger.debug(f"System: BBS Enabled, {bbsdb} has {len(bbs_messages)} messages. Direct Mail Messages waiting: {(len(bbs_dm) - 1)}")
if bbs_link_enabled:
if len(bbs_link_whitelsit()) > 0:
logger.debug(f"System: BBS Link Enabled with {len(bbs_link_whitelsit())} peers")
if len(bbs_link_whitelist) > 0:
logger.debug(f"System: BBS Link Enabled with {len(bbs_link_whitelist)} peers")
else:
logger.debug(f"System: BBS Link Enabled allowing all")
if solar_conditions_enabled:
+2 -2
View File
@@ -167,8 +167,8 @@ def bbs_sync_posts(input, peerNode, RxNode):
messageID = 0
# check if the bbs link is enabled
if bbs_link_whitelsit is not None:
if str(RxNode) not in bbs_link_whitelsit:
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}.")
return "System: BBS Link is disabled for your node."
if bbs_link_enabled == False:
+1 -1
View File
@@ -157,7 +157,7 @@ try:
bbs_ban_list = config['bbs'].get('bbs_ban_list', '').split(',')
bbs_admin_list = config['bbs'].get('bbs_admin_list', '').split(',')
bbs_link_enabled = config['bbs'].getboolean('bbslink_enabled', False)
bbs_link_whitelsit = config['bbs'].get('bbslink_whitelist', '').split(',')
bbs_link_whitelist = config['bbs'].get('bbslink_whitelist', '').split(',')
# repeater
repeater_enabled = config['repeater'].getboolean('enabled', False)