10 lines
237 B
Lua
10 lines
237 B
Lua
-- get player messages request from webmail
|
|
function mail.handlers.messages(playername)
|
|
local messages = mail.getMessages(playername)
|
|
mail.channel.send({
|
|
type = "player-messages",
|
|
playername = playername,
|
|
data = messages
|
|
})
|
|
end
|