From 3bf12d62b5ee9a6fb9a50624ec8b51dba2ebaa95 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 10 Apr 2025 16:09:15 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index fd1fe96..fd05619 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -904,7 +904,7 @@ def handle_history(message, nodeid, deviceID, isDM, lheard=False): prettyTime = getPrettyTime(cmdTime) # history display output - if nodeid in bbs_admin_list and cmdHistory[i]['nodeID'] not in lheardCmdIgnoreNode: + if str(nodeid) in bbs_admin_list and cmdHistory[i]['nodeID'] not in lheardCmdIgnoreNode: buffer.append((get_name_from_number(cmdHistory[i]['nodeID'], 'short', deviceID), cmdHistory[i]['cmd'], prettyTime)) elif cmdHistory[i]['nodeID'] == nodeid and cmdHistory[i]['nodeID'] not in lheardCmdIgnoreNode: buffer.append((get_name_from_number(nodeid, 'short', deviceID), cmdHistory[i]['cmd'], prettyTime))