Skip to content
Snippets Groups Projects
Commit 2d087eaa authored by BuckarooBanzay's avatar BuckarooBanzay
Browse files

use proper handler

parent cbceb94f
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ function mail.webmail_init(http, url, key) ...@@ -12,7 +12,7 @@ function mail.webmail_init(http, url, key)
mail.handlers.auth(data.data) mail.handlers.auth(data.data)
elseif data.type == "send" then elseif data.type == "send" then
mail.handlers.auth(data.data) -- { src, dst, subject, body } mail.handlers.send(data.data) -- { src, dst, subject, body }
elseif data.type == "delete-mail" then elseif data.type == "delete-mail" then
mail.handlers.delete(data.playername, data.index) -- index 1-based mail.handlers.delete(data.playername, data.index) -- index 1-based
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment