Software /
code /
prosody-modules
Changeset
2614:a6e97031972c
mod_invite: Remove unused arguments [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 14 Mar 2017 04:19:26 +0100 |
parents | 2613:2103135f1851 |
children | 2615:efb69a260723 |
files | mod_invite/mod_invite.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_invite/mod_invite.lua Tue Mar 14 04:19:06 2017 +0100 +++ b/mod_invite/mod_invite.lua Tue Mar 14 04:19:26 2017 +0100 @@ -28,7 +28,7 @@ end) end -function generate_page(event, display_options) +function generate_page(event) local request, response = event.request, event.response; local tokens = invite_storage:get() or {}; @@ -58,7 +58,7 @@ rostermanager.process_inbound_subscription_approval(user2, module.host, user1_jid); end -function handle_form(event, display_options) +function handle_form(event) local request, response = event.request, event.response; local form_data = http_formdecode(request.body); local user, password, token = form_data["user"], form_data["password"], form_data["token"]; @@ -125,7 +125,7 @@ }; }); -function invite_command_handler(self, data, state) +function invite_command_handler(_, data) local uuid = uuid_new(); local user, host = jid_split(data.from);