mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-08-07 22:22:23 -04:00
Update command_handlers.py
This commit is contained in:
parent
5b17ec7d25
commit
cbd5571b5a
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def handle_help_command(sender_id, interface, menu_name=None):
|
||||||
allowed2bbs_nodes = interface.allowed2bbs_nodes
|
allowed2bbs_nodes = interface.allowed2bbs_nodes
|
||||||
if allowed2bbs_nodes and node_id not in allowed2bbs_nodes:
|
if allowed2bbs_nodes and node_id not in allowed2bbs_nodes:
|
||||||
logging.info(f"The node_id: {node_id} is not allowed to enter this bbs") # Debug statement
|
logging.info(f"The node_id: {node_id} is not allowed to enter this bbs") # Debug statement
|
||||||
elif update_user_state(sender_id, {'command': 'MAIN_MENU', 'step': 1}) # Reset to main menu state
|
elif update_user_state(sender_id, {'command': 'MAIN_MENU', 'step': 1}): # Reset to main menu state
|
||||||
mail = get_mail(get_node_id_from_num(sender_id, interface))
|
mail = get_mail(get_node_id_from_num(sender_id, interface))
|
||||||
response = build_menu(main_menu_items, f"💾NieuwAlphen BBS💾 (✉️:{len(mail)})")
|
response = build_menu(main_menu_items, f"💾NieuwAlphen BBS💾 (✉️:{len(mail)})")
|
||||||
send_message(response, sender_id, interface)
|
send_message(response, sender_id, interface)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue