changeset 4117:a1c6eea971ce

mod_invites_register_web: Include request.ip in user-registering event (thanks franck)
author Matthew Wild <mwild1@gmail.com>
date Mon, 14 Sep 2020 13:57:59 +0100
parents 05d0a249326a
children 82482e7e92cb
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 12:47:34 2020 +0100
+++ b/mod_invites_register_web/mod_invites_register_web.lua	Mon Sep 14 13:57:59 2020 +0100
@@ -117,6 +117,7 @@
 		validated_invite = invite;
 		username = prepped_username;
 		host = module.host;
+		ip = request.ip;
 		allowed = true;
 	};