mirror of
https://github.com/mt-mods/mail.git
synced 2025-03-15 22:21:24 +00:00
9 lines
149 B
Lua
9 lines
149 B
Lua
|
function mail.webmail_send_hook(m)
|
||
|
mail.channel.send({
|
||
|
type = "new-message",
|
||
|
data = m
|
||
|
})
|
||
|
end
|
||
|
|
||
|
mail.register_on_receive(mail.webmail_send_hook)
|