diff --git a/config_init.py b/config_init.py index e8a8e7f..e4d9179 100644 --- a/config_init.py +++ b/config_init.py @@ -114,6 +114,12 @@ def initialize_config(config_file: str = None) -> dict[str, Any]: print(f"Configured to sync with the following BBS nodes: {bbs_nodes}") + allowed2bbs_nodes = config.get('allow2bbs_list', 'allowed2bbs_nodes', fallback='').split(',') + if allowed2bbs_nodes == ['']: + allowed2bbs_nodes = [] + + print(f"Nodes allowed to enter the BBS: {allowed2bbs_nodes}") + allowed_nodes = config.get('allow_list', 'allowed_nodes', fallback='').split(',') if allowed_nodes == ['']: allowed_nodes = []