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