Mercurial > prosody-modules
comparison mod_audit_register/mod_audit_register.lua @ 4934:08dea42a302a
mod_audit*: fix luacheck warnings
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Tue, 26 Apr 2022 22:37:13 +0200 |
parents | 530d116b7f68 |
children | dde83f6043e6 |
comparison
equal
deleted
inserted
replaced
4933:530d116b7f68 | 4934:08dea42a302a |
---|---|
1 module:depends("audit"); | 1 module:depends("audit"); |
2 -- luacheck: read globals module.audit | |
2 | 3 |
3 local st = require "util.stanza"; | 4 local st = require "util.stanza"; |
4 | 5 |
5 module:hook("user-registered", function(event) | 6 module:hook("user-registered", function(event) |
6 local session = event.session; | 7 local session = event.session; |