diff --git a/mesh_bot.py b/mesh_bot.py index dbecc12..52fda9d 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -40,7 +40,7 @@ def auto_response(message, snr, rssi, hop, pkiStatus, message_from_id, channel_n "bbspost": lambda: handle_bbspost(message, message_from_id, deviceID), "bbsread": lambda: handle_bbsread(message), "blackjack": lambda: handleBlackJack(message, message_from_id, deviceID), - "okcl": lambda: handle_checklist(message, message_from_id, deviceID), + "approvecl": lambda: handle_checklist(message, message_from_id, deviceID), "denycl": lambda: handle_checklist(message, message_from_id, deviceID), "checkin": lambda: handle_checklist(message, message_from_id, deviceID), "checklist": lambda: handle_checklist(message, message_from_id, deviceID), diff --git a/modules/checklist.py b/modules/checklist.py index bbe3619..5306ef5 100644 --- a/modules/checklist.py +++ b/modules/checklist.py @@ -6,7 +6,7 @@ from modules.log import logger from modules.settings import checklist_db, reverse_in_out, bbs_ban_list, bbs_admin_list import time -trap_list_checklist = ("checkin", "checkout", "checklist", "okcl", "denycl",) +trap_list_checklist = ("checkin", "checkout", "checklist", "approvecl", "denycl",) def initialize_checklist_database(): try: @@ -415,7 +415,7 @@ def process_checklist_command(nodeID, message, name="none", location="none"): # elif "purgeout" in message_lower: # return mark_checkout_removed_by_name(name) - elif "okcl " in message_lower: + elif "approvecl " in message_lower: if not is_admin: return "You do not have permission to approve check-ins." try: