From: plugd Date: Wed, 7 Aug 2024 11:44:56 +0000 (+0200) Subject: Removed padding from to/from. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=5b557689a3a02dbf793b91c291a3df00888845fe;p=qwikboard.git Removed padding from to/from. --- 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 = {}