diff mod_invites_register_web/mod_invites_register_web.lua @ 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 d0366474aace
children 559ca8d93302
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;
 	};