mod_measure_registration/mod_measure_registration.lua
author Matthew Wild <mwild1@gmail.com>
Thu, 29 Feb 2024 16:33:15 +0000
changeset 5851 d00af6ebb326
parent 3955 32d9d155a9b9
permissions -rw-r--r--
mod_spam_report_forwarder: Only forward to xmpp: URIs, and exclude MUCs

local count_registering = module:measure("user_registering", "rate");
local count_registered = module:measure("user_registered", "rate");

module:hook("user-registering", function ()
	count_registering();
end);

module:hook("user-registered", function ()
	count_registered();
end);