From 5b557689a3a02dbf793b91c291a3df00888845fe Mon Sep 17 00:00:00 2001 From: plugd Date: Wed, 7 Aug 2024 13:44:56 +0200 Subject: [PATCH] Removed padding from to/from. --- obbs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/obbs b/obbs index a2876a2..b61219a 100755 --- a/obbs +++ b/obbs @@ -216,9 +216,9 @@ function qwk.read_message_header(mf, obbs) local conf_num = tonumber(mf:read(7)) msg.date = mf:read(8) msg.time = mf:read(5) - msg.to = mf:read(25) - msg.from = mf:read(25) - msg.subject = mf:read(25) + msg.to = string.lower(string.gsub(mf:read(25), " ", "")) + msg.from = string.lower(string.gsub(mf:read(25), " ", "")) + msg.subject = string.gsub(mf:read(25), " ", "") mf:read(12) -- Password (unused) msg.replyto = tonumber(mf:read(8)) @@ -242,9 +242,6 @@ function qwk.read_message_header(mf, obbs) print("}") end -function qwk.read_message_text(mf, obbs, msg) -end - --- Commands --- local cmd = {} -- 2.20.1