This commit is contained in:
Nestpebble
2024-09-27 02:29:58 +01:00
parent 0b101d662e
commit f23c4e2b6a
+1 -1
View File
@@ -479,7 +479,7 @@ def handle_bbspost(message, message_from_id, deviceID):
elif "@" in message and not "example:" in message:
toNode = message.split("@")[1].split("#")[0]
toNode = toNode.rstrip()
if "!" in toNode and toNode.strip("!").ishex():
if "!" in toNode and toNode.strip("!").isHex():
toNode = toNode.strip("!")
elif toNode.isalpha() or not toNode.isnumeric():
toNode = get_num_from_short_name(toNode, deviceID)