Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-08-14 17:56:34 -07:00
parent d2b303b47c
commit 6ce650dc15
-2
View File
@@ -122,8 +122,6 @@ def handle_bbspost(message, message_from_id, deviceID):
toNode = get_num_from_short_name(toNode, deviceID)
if toNode == 0:
return "Node not found " + message.split("@")[1].split("#")[0]
else:
logger.debug(f"System: bbspost, name lookup found: {toNode}")
if "#" in message:
body = message.split("#")[1]
return bbs_post_dm(toNode, body, message_from_id)