# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1600089559 -3600
# Node ID 559ca8d93302847c53ff4b21ed60b95f4b1dff5f
# Parent  82482e7e92cb4007507c81c410d563e11fcaefb2
mod_invites_register_web: Also add ip to user-registered

diff -r 82482e7e92cb -r 559ca8d93302 mod_invites_register_web/mod_invites_register_web.lua
--- 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];