mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-05 04:52:16 +02:00
Merge pull request #153 from rfschmid/allow-dms-to-numeric-short-names
This commit is contained in:
@@ -804,7 +804,7 @@ def handle_bbspost(message, message_from_id, deviceID):
|
||||
toNode = int(toNode.strip("!"),16)
|
||||
except ValueError as e:
|
||||
toNode = 0
|
||||
elif toNode.isalpha() or not toNode.isnumeric():
|
||||
elif toNode.isalpha() or not toNode.isnumeric() or len(toNode) < 5:
|
||||
# try short name
|
||||
toNode = get_num_from_short_name(toNode, deviceID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user