mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 02:28:05 +11:00
made mmaild handle headers properly
This commit is contained in:
parent
1d5f63360f
commit
4496f0cc1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user