Update bbstools.py

This commit is contained in:
SpudGunMan
2024-10-31 16:56:43 -07:00
parent e1b3dd311f
commit 4e518758e5
+1 -1
View File
@@ -80,7 +80,7 @@ def bbs_post_message(subject, message, fromNode):
# validate not a duplicate message
for msg in bbs_messages:
if msg[1] == subject and msg[2] == message:
if msg[1].strip().lower() == subject.strip().lower() and msg[2].strip().lower() == message.strip().lower():
messageID = msg[0]
return "Message posted. ID is: " + str(messageID)