1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-12-25 01:48:05 +11:00

made mmaild handle headers properly

This commit is contained in:
Izaya 2018-03-09 19:44:58 +11:00
parent 1d5f63360f
commit 4496f0cc1c

View File

@ -27,9 +27,9 @@ function start()
tw[#tw+1] = w
end
if tw[1] == "To:" then
to=tw[2]
to=to or tw[2]
elseif tw[1] == "From:" then
from=tw[2]
from=from or tw[2]
end
to=to:match("(.+)@"..hostname) or to
end