mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-23 10:38: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
|
tw[#tw+1] = w
|
||||||
end
|
end
|
||||||
if tw[1] == "To:" then
|
if tw[1] == "To:" then
|
||||||
to=tw[2]
|
to=to or tw[2]
|
||||||
elseif tw[1] == "From:" then
|
elseif tw[1] == "From:" then
|
||||||
from=tw[2]
|
from=from or tw[2]
|
||||||
end
|
end
|
||||||
to=to:match("(.+)@"..hostname) or to
|
to=to:match("(.+)@"..hostname) or to
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user