comparison 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
comparison
equal deleted inserted replaced
4116:05d0a249326a 4117:a1c6eea971ce
115 115
116 local registering = { 116 local registering = {
117 validated_invite = invite; 117 validated_invite = invite;
118 username = prepped_username; 118 username = prepped_username;
119 host = module.host; 119 host = module.host;
120 ip = request.ip;
120 allowed = true; 121 allowed = true;
121 }; 122 };
122 123
123 module:fire_event("user-registering", registering); 124 module:fire_event("user-registering", registering);
124 125