From 4e518758e5fcb788dd2eaf02f9f0f3a0d4919518 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 31 Oct 2024 16:56:43 -0700 Subject: [PATCH] Update bbstools.py --- modules/bbstools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bbstools.py b/modules/bbstools.py index 5057bfe..87dc368 100644 --- a/modules/bbstools.py +++ b/modules/bbstools.py @@ -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)