Software /
code /
prosody-modules
Comparison
mod_password_policy/mod_password_policy.lua @ 4831:5a42cb84c8ee
mod_password_policy: Silence luacheck warning for intentional global
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 14:43:53 +0000 |
parent | 4830:af6143cf7d22 |
child | 4832:bfd4af4caddc |
comparison
equal
deleted
inserted
replaced
4830:af6143cf7d22 | 4831:5a42cb84c8ee |
---|---|
35 end | 35 end |
36 end | 36 end |
37 return true; | 37 return true; |
38 end | 38 end |
39 | 39 |
40 function get_policy() | 40 function get_policy() --luacheck: ignore 131/get_policy |
41 return options; | 41 return options; |
42 end | 42 end |
43 | 43 |
44 function handler(event) | 44 function handler(event) |
45 local origin, stanza = event.origin, event.stanza; | 45 local origin, stanza = event.origin, event.stanza; |