From b98bc8429a74f8468f2937527e6c86a51c52b943 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 29 Nov 2024 18:17:17 -0800 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 c3e32d3..e21ef03 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -895,7 +895,7 @@ def onReceive(packet, interface): hop = f"{hop_count} hops" - if message_string == help_message or message_string == welcome_message or "CMD?:" in message_string: + if help_message in message_string or welcome_message in message_string or "CMD?:" in message_string: # ignore help and welcome messages logger.warning(f"Got Own Welcome/Help header. From: {get_name_from_number(message_from_id, 'long', rxNode)}") return