1
0
Fork 0
mirror of https://github.com/mt-mods/mail.git synced 2025-03-16 06:31:24 +00:00
mail/webmail/hook.lua
2020-04-23 10:00:28 +02:00

8 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)