From e66d945be7cfa57756fcfebacb8879faada76097 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 19 Jan 2025 11:41:15 -0800 Subject: [PATCH] Update checklist.py --- modules/checklist.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/checklist.py b/modules/checklist.py index dde8488..382f8f0 100644 --- a/modules/checklist.py +++ b/modules/checklist.py @@ -131,6 +131,10 @@ def list_checkin(): def process_checklist_command(nodeID, message, name="none", location="none"): current_date = time.strftime("%Y-%m-%d") current_time = time.strftime("%H:%M:%S") + # if user on bbs_ban_list reject command + if str(nodeID) in bbs_ban_list: + logger.warning("System: Checklist attempt from the ban list") + return "unable to process command" try: comment = message.split(" ", 1)[1] except IndexError: