Software /
code /
prosody
Changeset
13016:8aec903ea888
moduleapi: Add luacheck annotation to suppress warning about unused self
This is a convenience function, and there is currently no module-specific code
required to implement it. Not using 'self' is to be expected.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 01 Apr 2023 12:30:29 +0100 |
parents | 13015:46c05c2e34f7 |
children | 13017:94f8fce2d99b |
files | core/moduleapi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/moduleapi.lua Sat Apr 01 11:59:50 2023 +0100 +++ b/core/moduleapi.lua Sat Apr 01 12:30:29 2023 +0100 @@ -694,7 +694,7 @@ end -- Execute a function, once, but only after startup is complete -function api:once(f) +function api:once(f) --luacheck: ignore 212/self return prosody.started:next(f); end