Mercurial > prosody-modules
changeset 4119:559ca8d93302
mod_invites_register_web: Also add ip to user-registered
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 14 Sep 2020 14:19:19 +0100 |
parents | 82482e7e92cb |
children | d3c7be9e36d9 |
files | mod_invites_register_web/mod_invites_register_web.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_invites_register_web/mod_invites_register_web.lua Mon Sep 14 13:58:47 2020 +0100 +++ b/mod_invites_register_web/mod_invites_register_web.lua Mon Sep 14 14:19:19 2020 +0100 @@ -139,6 +139,7 @@ host = module.host; source = "mod_"..module.name; validated_invite = invite; + ip = request.ip; }); local app_info = site_apps[app_id];