Mercurial > prosody-modules
view mod_measure_registration/mod_measure_registration.lua @ 4845:6e17df6becec
mod_bookmarks2: Actually fix the right wrong codepath
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 04 Jan 2022 22:59:24 +0100 |
parents | 32d9d155a9b9 |
children |
line wrap: on
line source
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);