mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-03 07:23:22 +02:00
Update mesh_bot.py
This commit is contained in:
+1
-1
@@ -761,7 +761,7 @@ def onReceive(packet, interface):
|
||||
|
||||
hop = f"{hop_count} hops"
|
||||
|
||||
if message_string == help_message or message_string == welcome_message or message_string == "CMD?:" in message_string:
|
||||
if message_string == help_message or message_string == welcome_message or "CMD?:" in message_string.lower():
|
||||
# ignore help and welcome messages
|
||||
logger.warning(f"Got Own Welcome/Help header. From: {get_name_from_number(message_from_id, 'long', rxNode)}")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user